Re: Modem logs on, but can't be used
From: SL (none_at_earthlink.net)
Date: 09/28/03
- Next message: Gireesh K. Bhat: "Re: How to use firewire device with camcorder?"
- Previous message: James Knott: "Re: messaging on LAN"
- In reply to: Andreas Tretow: "Re: Modem logs on, but can't be used"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Sep 2003 22:51:36 GMT
Following my placing a hostname in /etc/sysconfig/network as suggested, my
computer connected perfectly and accessed the web great. However, when I
tried the next morning, it was back to doing the same thing. This is the
second time (seemingly ramdomly) I've gotten functionality, changed nothing,
and then had the same old problem again. Hostname was still in there.
Thanks for the any ideas. I've provided the info you requested.
S
"Andreas Tretow" <andreas.tretow-ng@gmx.de> wrote in message
news:pan.2003.09.26.12.42.03.263201@gmx.de...
> On Thu, 25 Sep 2003 02:21:25 +0000, SL wrote:
> >> This is probably your problem. Edit your /etc/sysconfig/network and
add:
> >>
> >> NOZEROCONF=yes
> >
> > I did this, but it didn't do anything.
>
> How do you know? Please post the output of 'route' again.
>
All I know is that the behavior isn't changed. 'route' returns:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> >>
> >> Then restart your entire network ('service network restart')and try
again.
> >> If this line persists in your setup you might also need to add this
line
> >> to your /etc/sysconfig/network-scripts/ifcfg-[eth[0|1]|ppp] scripts.
> >>
> >> > 0 lo
> >> > 127.0.0.0 * 255.0.0.0 U 0
> > 0
> >> > 0 lo
> >> > default 65.179.30.10 0.0.0.0 UG 0 0
> >> > 0 ppp0
> >> >
> >
> > Unfortunately I can't make this out.
>
> What do you mean?
I mean the email displays your line as a series of 17 phrases spread out
over 6 lines.
The only file in that directory remotely similar the that name you gave is
ifcfg-lo, and the is
nothing in that file that idicates how your line should be entered. I put
it in anyway
and the behavior wasn't changed.
> > Thanks for the help. Now the modem intermittently is able to resolve
the
> > address, but always times
> > out before fully loading anything.
>
> Which address? Try pinging a couple of different addresses and check
> whether the names are resolved to numbers in all cases.
Always resolves to a number, then either hangs or times out.
>
> In an older thread your system was complaining about a missing module if
> memory serves me right. Could you please post the relevant parts of your
> /var/log/messages again? (Which reminds me: Please do not multi-post to
> different newsgroups, if you really have to ask the same question in a few
> (!) groups, please do cross-post setting the Follow-Up header. Try Google
> for more information on this.)
Thanks, but I try to post on only one newgroup until the thread ends. Then
try another. I've posted this problem over several newgroups for the four
weeks. So far no one has been able to resolve it . I appreciate your
efforts.
I'm not getting the missing module errors anymore.
Here it is:
Sep 26 20:45:03 localhost login(pam_unix)[3577]: session opened for user
root by LOGIN(uid=0)
Sep 26 20:45:03 localhost -- root[3577]: ROOT LOGIN ON tty1
Sep 26 20:45:53 localhost network: Shutting down loopback interface:
succeeded
Sep 26 20:45:53 localhost sysctl: net.ipv4.ip_forward = 0
Sep 26 20:45:53 localhost sysctl: net.ipv4.conf.default.rp_filter = 1
Sep 26 20:45:53 localhost sysctl: kernel.sysrq = 0
Sep 26 20:45:53 localhost sysctl: kernel.core_uses_pid = 1
Sep 26 20:45:53 localhost network: Setting network parameters: succeeded
Sep 26 20:45:53 localhost network: Bringing up loopback interface:
succeeded
Sep 26 20:47:26 localhost pppd[4329]: pppd 2.4.1 started by root, uid 0
Sep 26 20:47:27 localhost chat[4331]: abort on (BUSY)
Sep 26 20:47:27 localhost chat[4331]: abort on (NO CARRIER)
Sep 26 20:47:27 localhost chat[4331]: send (ATZ^M)
Sep 26 20:47:27 localhost chat[4331]: expect (OK)
Sep 26 20:47:28 localhost chat[4331]: ATZ^M^M
Sep 26 20:47:28 localhost chat[4331]: OK
Sep 26 20:47:28 localhost chat[4331]: -- got it
Sep 26 20:47:28 localhost chat[4331]: send (ATDT2890020^M)
Sep 26 20:47:28 localhost chat[4331]: expect (CONNECT)
Sep 26 20:47:28 localhost chat[4331]: ^M
Sep 26 20:47:54 localhost chat[4331]: ATDT2890020^M^Y`&b+IBC:1^M
Sep 26 20:47:54 localhost chat[4331]: CONNECT
Sep 26 20:47:54 localhost chat[4331]: -- got it
Sep 26 20:47:54 localhost chat[4331]: send (r^M)
Sep 26 20:47:54 localhost chat[4331]: expect (ogin:)
Sep 26 20:47:54 localhost chat[4331]: 57600^M
Sep 26 20:47:59 localhost chat[4331]: ^Yc^M
Sep 26 20:47:59 localhost chat[4331]:
Sep 26 20:47:59 localhost last message repeated 23 times
Sep 26 20:47:59 localhost chat[4331]: Authorized use only-Unauthorized use
is Prohibited-Sprint-IP^M
Sep 26 20:47:59 localhost chat[4331]: ^M
Sep 26 20:47:59 localhost chat[4331]: ^M
Sep 26 20:47:59 localhost chat[4331]: Username/Login:
Sep 26 20:47:59 localhost chat[4331]: -- got it
Sep 26 20:47:59 localhost chat[4331]: send (bangorme@earthlink.net^M)
Sep 26 20:48:00 localhost chat[4331]: expect (ssword:)
Sep 26 20:48:00 localhost chat[4331]: bangorme@earthlink.net^M
Sep 26 20:48:00 localhost chat[4331]: Password:
Sep 26 20:48:00 localhost chat[4331]: -- got it
Sep 26 20:48:00 localhost chat[4331]: send (forever^M)
Sep 26 20:48:00 localhost pppd[4329]: Serial connection established.
Sep 26 20:48:00 localhost /etc/hotplug/net.agent: assuming ppp0 is already
up
Sep 26 20:48:00 localhost pppd[4329]: Using interface ppp0
Sep 26 20:48:00 localhost pppd[4329]: Connect: ppp0 <--> /dev/modem
Sep 26 20:48:05 localhost pppd[4329]: local IP address 65.179.9.84
Sep 26 20:48:05 localhost pppd[4329]: remote IP address 65.179.30.9
Sep 26 20:48:05 localhost pppd[4329]: primary DNS address 207.69.188.187
Sep 26 20:48:05 localhost pppd[4329]: secondary DNS address 207.69.188.186
>
> And please state which RH distro you are using and whether you modified
> the kernel and/or any of the modules. Also consider posting your
> /etc/modules.conf.
I'm running the standard kernel on 9.0. I have made no kernel modifications
.
Here is /etc/modules.conf
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null
2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null
2>&1 || :
# Alias for ppp compression routines
alias net-pf-4 off
alias net-pf-5 off
alias ppp-compress-21 off
alias ppp-compress-26 ppp_deflate
alias ppp-compress-24 ppp_deflate
> > /etc/sysconfig/network
> >
> > NETWORKING=yes
> > NOZEROCONF=yes
> > HOSTNAME=
>
> What is the output of 'hostname'? Consider giving your machine a name in
> this file, eg. HOSTNAME=mycomputer .
OK, did that. See above
>
> Please post your /etc/host.conf and /etc/nsswitch.conf .
/etc/host.conf
order hosts,bind
/etc/nsswitch.conf
...
passwd: files
shadow: files
group: files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus
> > # that require network functionality will fail.
> > 127.0.0.1 localhost.localdomain localhost
> > 207.69.188.185 earthlink.net
>
> Where does the last entry come from? Did you add it manually? If so, why
> did you enter a Mindspring nameserver?
Comes from Earthlink's instructions on accessing them through Linux:
Here are the instructions for configuring Linux to connect to Earthlink:
1. First, make sure that you have the two programs pppd and chat by doing a
whereis command on both of these files. If they don't exist on the system,
more advanced technical support will be needed. In this case, you can refer
the user to the following web site: Linux Support Groups
2. Once you locate the files, we'll need to manually edit them using the
text editor of your choice (otherwise, see instructions for using the vi
editor below). You'll need to change to the /etc directory first. Then
locate the following files: /etc/resolv.conf /etc/HOSTNAME If you decide to
use the vi editor, you'll need to know a few basic commands:
To open a file in vi, use the command vi (filename)
To insert a line of text, change to insert mode by typing i (use Esc to exit
this mode when done)
To delete a line of text, move the cursor over the text and type x
To quit the vi editor and save changes, use the command Esc, Esc, : (a
colon), w, q, Enter
3. Alter the resolv.conf file in /etc to include: domain earthlink.net
search earthlink.net nameserver 207.69.188.185 nameserver 207.69.188.185
4. Now let's create an options file and a connection script. Both of these
files go in the /etc/ppp directory, so you should change to this directory
before creating the files. The first file is called options.
An example would be: File: /etc/ppp/options #!/bin/sh /dev/cua1 (cua1 = COM2
in DOS, cua0 = COM1 in DOS and so on....) 38400 (put the modem speed here)
connect /etc/ppp/earthlink-connect (the name of the EarthLink Linux
connection script) crtscts (hardware flow control) defaultroute (routing
option) Save this file as options in the /etc/ppp directory.
The next file is called earthlink-connect and should be placed within the
/etc/ppp directory and saved as /etc/ppp/earthlink-connect.
Again, here is an example: File: /etc/ppp/earthlink-connect #!/bin/sh
/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' "" ATZ OK ATDT (POP #)
CONNECT \r ogin: (username) ssword: (password) Save this file as
/etc/ppp/connect-earthlink and set the file permission of this
connect-earthlink file to 755 using the command chmod 755
5. After the creation of these files you might want to create a little
program that will alert you when you're connected and disconnected in X
Windows. (This is optional, of course). If you create two files (ip-up and
ip-down) in /etc/ppp and set the file permissions of those to 755, they will
give you an alert message when you log on and off Earthlink. ip-up
message -center "Connection Established." ip-down message -center
"Connection Down."
6. Finally, to connect to EarthLink, you need to type pppd and wait for the
modem to dial.
- Next message: Gireesh K. Bhat: "Re: How to use firewire device with camcorder?"
- Previous message: James Knott: "Re: messaging on LAN"
- In reply to: Andreas Tretow: "Re: Modem logs on, but can't be used"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|