Networking Forums

Networking Forums > Computer Networking > Linux Networking > PPP problem - newbie

Reply
Thread Tools Display Modes

PPP problem - newbie

 
 
Tom
Guest
Posts: n/a

 
      02-22-2004, 02:09 PM
I'm trying to connect to the internet using SuSE 9 and a Thompson SpeedTouch
330 ADSL modem. (I got the drivers from http://speedtouch.sourceforge.net/
and followed the HOWTO there).

I think I've got a problem with ppp though, because having said 'pppd call
adsl', if I do a ifconfig ppp0 I get:

linux:/etc/ppp # ifconfig 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)

which doesn't have give me my ip on the network....? So has something gone
wrong, and how might I figure out what it is?

I don't get any messsages (error msgs or otherwise), just no ip address.

Cheers,

Tom


 
Reply With Quote
 
 
 
 
hiwa
Guest
Posts: n/a

 
      02-22-2004, 07:05 PM
"Tom" <@@> wrote in message news:<4038c61c@212.67.96.135>...
> I'm trying to connect to the internet using SuSE 9 and a Thompson SpeedTouch
> 330 ADSL modem. (I got the drivers from http://speedtouch.sourceforge.net/
> and followed the HOWTO there).
>
> I think I've got a problem with ppp though, because having said 'pppd call
> adsl', if I do a ifconfig ppp0 I get:
>
> linux:/etc/ppp # ifconfig 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)
>
> which doesn't have give me my ip on the network....? So has something gone
> wrong, and how might I figure out what it is?
>
> I don't get any messsages (error msgs or otherwise), just no ip address.
>
> Cheers,
>
> Tom


I think line from ADSL should go into your LAN port(Ethernet card) and
you or modem, or router, should run PPPoE software.
 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      02-22-2004, 07:42 PM
> I think line from ADSL should go into your LAN port(Ethernet card) and
> you or modem, or router, should run PPPoE software.


No, it's a USB modem -- hence the need for special drivers.

Thanks,

Tom


 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      02-22-2004, 09:19 PM
Tom <@@> wrote:
> I'm trying to connect to the internet using SuSE 9 and a Thompson SpeedTouch
> 330 ADSL modem. (I got the drivers from http://speedtouch.sourceforge.net/
> and followed the HOWTO there).


> I think I've got a problem with ppp though, because having said 'pppd call
> adsl', if I do a ifconfig ppp0 I get:


> linux:/etc/ppp # ifconfig 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)


> which doesn't have give me my ip on the network....? So has something gone
> wrong, and how might I figure out what it is?


It looks like IPCP negotiations completed, but with no IP addresses.

Add the pppd options debug and dump to /etc/ppp/options, follow the
recipe in my signature, and then make a connection. Post an exact
copy of the resulting messages in log.ppp and they may tell us what
happened.

It would be nice to know what's in the "adsl" file as well, and also
what shows up in the output of "route -n".

-- Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
/* Recipe for a unified PPP debug log file: Add the line
daemon.*;local2.* /var/log/ppp.log
to /etc/syslog.conf, and do " killall -HUP syslogd " so that
syslogd rereads it. */
 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      02-23-2004, 06:06 PM
The adsl file contains:
linux:/home/tom # cat /etc/ppp/peers/adsl
debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/sbin/pppoa3 -m 1 -c -vpi 0 -vci 38"
sync
user <my-isp-user-name>
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
linux:/home/tom #

Where I've replaced my actual username with <my-isp-user-name> because I'm
paranoid ;-)

Having followed your instructions I get the following ppp.log file:
linux:/home/tom # cat /var/log/ppp.log
Feb 23 18:45:11 linux pppd[2141]: pppd options in effect:
Feb 23 18:45:11 linux pppd[2141]: debug debug # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: kdebug 1 # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: holdoff 0 # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: persist # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: maxfail 25 # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: dump # (from
/etc/ppp/options)
Feb 23 18:45:11 linux pppd[2141]: noauth # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: name <my-isp-user-name> #
(from /etc/ppp/options)
Feb 23 18:45:11 linux pppd[2141]: user <my-isp-user-name> #
(from /etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: # (from
/etc/ppp/options)
Feb 23 18:45:11 linux pppd[2141]: pty /usr/local/sbin/pppoa3 -m
1 -c -vpi 0 -vci 38 # (from /etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: sync # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: noaccomp # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: nopcomp # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: novj # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: noipdefault # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: defaultroute # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: usepeerdns # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2141]: noccp # (from
/etc/ppp/peers/adsl)
Feb 23 18:45:11 linux pppd[2143]: pppd 2.4.1 started by root, uid 0
Feb 23 18:45:11 linux pppoa3[2144]: pppoa3 version 1.2-beta3 started by
root (uid 0)
Feb 23 18:45:11 linux pppoa3[2144]: Control thread ready
Feb 23 18:45:11 linux pppd[2143]: using channel 1
Feb 23 18:45:12 linux pppoa3[2144]: pusb_claim_interface 1 failed
Feb 23 18:45:12 linux pppd[2143]: Using interface ppp0
Feb 23 18:45:12 linux pppd[2143]: Connect: ppp0 <--> /dev/pts/5
Feb 23 18:45:12 linux pppd[2143]: ioctl(PPPIOCSASYNCMAP): Inappropriate
ioctl for device(25)
Feb 23 18:45:12 linux pppd[2143]: tcflush failed: Input/output error
Feb 23 18:45:12 linux pppd[2143]: Exit.

And here's route -n:
linux:/home/tom # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
linux:/home/tom #
which even I can tell is wrong.

Is that very instructive?

Cheers,

Tom


 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      02-23-2004, 11:19 PM
Tom <@@> wrote:
> The adsl file contains:
> linux:/home/tom # cat /etc/ppp/peers/adsl
> debug
> kdebug 1
> noipdefault
> defaultroute
> pty "/usr/local/sbin/pppoa3 -m 1 -c -vpi 0 -vci 38"
> sync
> user <my-isp-user-name>
> noauth
> noaccomp
> nopcomp
> noccp
> novj
> holdoff 4
> persist
> maxfail 25
> usepeerdns
> linux:/home/tom #


> Where I've replaced my actual username with <my-isp-user-name> because I'm
> paranoid ;-)


> Having followed your instructions I get the following ppp.log file:
> linux:/home/tom # cat /var/log/ppp.log
> Feb 23 18:45:11 linux pppd[2141]: pppd options in effect:
> Feb 23 18:45:11 linux pppd[2141]: debug debug # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: kdebug 1 # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: holdoff 0 # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: persist # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: maxfail 25 # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: dump # (from
> /etc/ppp/options)
> Feb 23 18:45:11 linux pppd[2141]: noauth # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: name <my-isp-user-name> #
> (from /etc/ppp/options)
> Feb 23 18:45:11 linux pppd[2141]: user <my-isp-user-name> #
> (from /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: # (from
> /etc/ppp/options)
> Feb 23 18:45:11 linux pppd[2141]: pty /usr/local/sbin/pppoa3 -m
> 1 -c -vpi 0 -vci 38 # (from /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: sync # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: noaccomp # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: nopcomp # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: novj # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: noipdefault # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: defaultroute # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: usepeerdns # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2141]: noccp # (from
> /etc/ppp/peers/adsl)
> Feb 23 18:45:11 linux pppd[2143]: pppd 2.4.1 started by root, uid 0
> Feb 23 18:45:11 linux pppoa3[2144]: pppoa3 version 1.2-beta3 started by
> root (uid 0)
> Feb 23 18:45:11 linux pppoa3[2144]: Control thread ready
> Feb 23 18:45:11 linux pppd[2143]: using channel 1
> Feb 23 18:45:12 linux pppoa3[2144]: pusb_claim_interface 1 failed
> Feb 23 18:45:12 linux pppd[2143]: Using interface ppp0
> Feb 23 18:45:12 linux pppd[2143]: Connect: ppp0 <--> /dev/pts/5
> Feb 23 18:45:12 linux pppd[2143]: ioctl(PPPIOCSASYNCMAP): Inappropriate
> ioctl for device(25)


I don't know much about PPP over ATM but this is a failed attempt to set
an asyncmap for (I think) the PPP interface. Since ATM is asynchronous
try dropping the sync option. Adding the default-asyncmap option may
also be required.

> Feb 23 18:45:12 linux pppd[2143]: tcflush failed: Input/output error
> Feb 23 18:45:12 linux pppd[2143]: Exit.


--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LG VX8600 newbie problem :) OmGiTzNiCk Wireless Internet 0 12-28-2007 12:59 AM
Newbie network problem. Please HELP!! The Forgotten Windows Networking 7 10-19-2006 03:02 AM
Please help a newbie! (Router Problem) Bigbossfan Network Routers 5 03-31-2005 03:39 AM
Newbie XP problem Plato Home Networking 2 11-26-2004 11:25 AM
Problem with WEP newbie needs help Hemlock tree Wireless Internet 1 12-14-2003 05:35 AM



1 2 3 4 5 6 7 8 9 10 11