You are not logged in.

#1 2007-02-25 00:04:48

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

modem operational but still no internet connection...

Hello !

I juste installed Arch, after some doc reading I figured out how to install the eagle-atm firmware (for my usb adsl modem)
now i have "modem operational" (dmesg).
I created a nice file in /etc/ppp/peers/ to descripe the provider (as found in various doc, on eagle-atm web site) but still, "pppd call my_provider_file" exits before even CHAP authentication...(although I have the proper chap-secret file)

here is what ifconfig tells me about ppp0 :

ppp0      Link encap:Point-to-Point Protocol
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

and that's the result of "route -n"

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

I cannot figure out what's wrong ? Could anyone help me ?

Last edited by john_schaf (2007-02-25 00:05:18)

Offline

#2 2007-02-25 10:13:52

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: modem operational but still no internet connection...

See if the method I propose in http://bbs.archlinux.org/viewtopic.php?id=30172 when the usepeerdns option is passed to pppd can help you solve your problem.

Offline

#3 2007-02-25 12:49:10

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: modem operational but still no internet connection...

I tried your script, but it dosn't make any difference.
I also have a running Kubuntu 5.10 on my machine, where the modem works (but with eagle-usb, not eagle-atm).
Here are the differences I have seen, maybe it gives a clue ... i don't know...

Arch pppd messages from /var/log/messages.log :

eb 24 22:19:24 myhost pppd[3888]: Plugin pppoatm.so loaded.
Feb 24 22:19:24 myhost pppd[3888]: PPPoATM plugin_init
Feb 24 22:19:24 myhost pppd[3888]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
Feb 24 22:19:24 myhost pppd[3889]: pppd 2.4.3 started by root, uid 0
Feb 24 22:19:24 myhost pppd[3889]: Exit.
Feb 25 12:28:42 myhost pppd[3870]: Plugin pppoatm.so loaded.
Feb 25 12:28:42 myhost pppd[3870]: PPPoATM plugin_init
Feb 25 12:28:42 myhost pppd[3870]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
Feb 25 12:28:42 myhost pppd[3871]: pppd 2.4.3 started by root, uid 0
Feb 25 12:28:42 myhost pppd[3871]: Using interface ppp0
Feb 25 12:28:42 myhost pppd[3871]: Connect: ppp0 <--> 8.35

whereas Kubuntu says :

Feb 25 12:30:58 localhost pppd[7443]: pppd 2.4.3 started by root, uid 0
Feb 25 12:30:58 localhost pppd[7443]: Using interface ppp0
Feb 25 12:30:58 localhost pppd[7443]: Connect: ppp0 <--> /dev/pts/0
Feb 25 12:31:01 localhost pppd[7443]: CHAP authentication succeeded: CHAP authen
tication success, unit 17403
Feb 25 12:31:02 localhost pppd[7443]: local  IP address 88.138.174.132
Feb 25 12:31:02 localhost pppd[7443]: remote IP address 88.138.174.1
Feb 25 12:31:02 localhost pppd[7443]: primary   DNS address 84.103.237.146
Feb 25 12:31:02 localhost pppd[7443]: secondary DNS address 86.64.145.146

Maybe I have to set up something in the network of rc.conf ???

Offline

#4 2007-02-25 14:34:12

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: modem operational but still no internet connection...

Here is what I have in /var/log/messages.log :

Feb 25 14:11:07 arch pppd[4987]: Plugin pppoatm.so loaded.
Feb 25 14:11:07 arch pppd[4987]: PPPoATM plugin_init
Feb 25 14:11:07 arch pppd[4987]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
Feb 25 14:11:07 arch pppd[4988]: pppd 2.4.4 started by root, uid 0
Feb 25 14:11:07 arch pppd[4988]: Using interface ppp0
Feb 25 14:11:07 arch pppd[4988]: Connect: ppp0 <--> 8.35
Feb 25 14:11:11 arch pppd[4988]: CHAP authentication succeeded
Feb 25 14:11:11 arch pppd[4988]: CHAP authentication succeeded
Feb 25 14:11:11 arch pppd[4988]: local  IP address 82.124.124.66
Feb 25 14:11:11 arch pppd[4988]: remote IP address 193.253.160.3
Feb 25 14:11:11 arch pppd[4988]: primary   DNS address 80.10.246.1
Feb 25 14:11:11 arch pppd[4988]: secondary DNS address 80.10.246.132

Can you tell what options you pass to pppd when you run "pppd call my_provider_file"
Tell also what you have in the files '/etc/ppp/chap-secrets' and /etc/ppp/pap-secrets'
You can post them but mask the passwords which may be in them.

Offline

#5 2007-02-25 14:53:15

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: modem operational but still no internet connection...

my_provider_fils reads :

debug
user "0492764856@neufpnp"
plugin pppoatm.so 8.35
mru 1492
mtu 1492
noipdefault
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
nobsdcomp
nodeflate
nopcomp
novj
novjccomp
noaccomp -am
persist

but i tried several variants by commenting some lines...
I do not pass any other options to pppd

chap-secrets reads :

"0492764856@neufpnp" * "the_password" *

pap-secrets is (some comments removed) :

# INBOUND connections

# Every regular user can use PPP and has to use passwords from /etc/passwd
*       hostname        ""      *

# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
guest   hostname        "*"     -
master  hostname        "*"     -
root    hostname        "*"     -
support hostname        "*"     -
stats   hostname        "*"     -

# OUTBOUND connections

#       *       password

what seems strange to me, is that it doesn't tell anything about CHAP authentication, either succeeded or failed ...

Last edited by john_schaf (2007-02-25 15:01:23)

Offline

#6 2007-02-25 17:18:21

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: modem operational but still no internet connection...

Here is what I have in the options file /etc/ppp/peers/ueagle-atm of the command 'pppd call ueagle-atm' which I use:

user "fti/AyYpV6k"
plugin pppoatm.so 8.35
noipdefault
usepeerdns
defaultroute
persist
noauth

In my file /etc/ppp/pap-secrets everything is commented out (I don't know if this is important).

As I see there is the option 'usepeerdns' in your options file for pppd, you have to write the DNS addresses in the file /etc/resolv.conf as shown in the other thread.
But the script /etc/ppp/ip-up will only be called when the connexion has succeeded, which seems not to be the case for you.
Has that connexion already worked ?
Is there a firewalll which prevent you from sending some packages on the net ?

Offline

#7 2007-02-25 17:30:02

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: modem operational but still no internet connection...

"Has that connexion already worked ?"
not in Arch, but it works well with Kubuntu

"Is there a firewalll which prevent you from sending some packages on the net ?"
no

Offline

#8 2007-02-25 22:44:06

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: modem operational but still no internet connection...

Do you run "pppd call my_provider_file" as root ?
Because on my machine the /etc/ppp/chap-secrets file is not readable under user login.
Apart from that I don't see why the connexion doesn't work on your machine.
Has you tried with only the options I use ?
Also try commenting out everything in the file /etc/ppp/pap-secrets.
Of course try always under root login.
That is all I can see for now...

Offline

#9 2007-03-01 12:43:21

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: modem operational but still no internet connection...

Nobody else has a clue ?

Offline

#10 2007-03-01 17:42:38

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: modem operational but still no internet connection...

You can also post in the "support for ueagle-atm" forum at http://forum.eagle-usb.org/viewforum.php?f=11

Check also your /etc/host.conf file, mine contains :

#
# /etc/host.conf
#

order hosts,bind
multi on

# End of file

and it is used during the connexion.

Offline

#11 2007-03-02 21:48:45

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: modem operational but still no internet connection...

Ok, now it works well with the arch 0.8.
thank you for your time ! smile

Offline

Board footer

Powered by FluxBB