LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2005, 09:58 PM   #1
syd2o2
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
ADSL modem installation problems


Hi
First let's get this out of the way, I'm a Linux newbie.
I've installed Debian 3.1, and now I'm trying to install my ADSL USB modem. So far unsuccessfully.
Modem is Dlink DSL 200 rev B and my ISP is using pppoe encapsulation.
First I've installed Eciadsl drivers, and then rp-pppoe-3.6.

My etc/eciadsl/eciadsl-conf looks like this:

Code:
VID1=0915
PID1=8102
VID2=0915
PID2=8102
MODE=LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS
VCI=35
VPI=8
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/synch53.bin
PPPD_USER="actual_username"
PPPD_PASSWD=
USE_DHCP=no
USE_STATICIP=no
STATICIP=
GATEWAY=
MODEM=D-Link DSL200 rev B
MODEM_CHIPSET=GS7470
SYNCH_ALTIFACE=5
PPPOECI_ALTIFACE=1
PROVIDER=Other
DNS1=195.222.32.10
DNS2=195.222.32.20
my etc/ppp/ppoe.conf looks like:

Code:
#***********************************************************************
#
# pppoe.conf
#
# Configuration file for rp-pppoe.  Edit as appropriate and install in
# /etc/ppp/pppoe.conf
#
# NOTE: This file is used by the pppoe-start, pppoe-stop, pppoe-connect and
#       pppoe-status shell scripts.  It is *not* used in any way by the
#       "pppoe" executable.
#
# Copyright (C) 2000 Roaring Penguin Software Inc.
#
# This file may be distributed under the terms of the GNU General
# Public License.
#
# LIC: GPL
# $Id: pppoe.conf,v 1.11 2005/08/09 02:49:12 dfs Exp $
#***********************************************************************

# When you configure a variable, DO NOT leave spaces around the "=" sign.

# Ethernet card connected to DSL modem
ETH='tap0'

# PPPoE user name.  You may have to supply "@provider.com"  Sympatico
# users in Canada do need to include "@sympatico.ca"
# Sympatico uses PAP authentication.  Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use xxyyzz@magma.ca
USER='actual_username'

# Bring link up on demand?  Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND=no
#DEMAND=300

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=SPECIFY

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS.  Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=195.222.32.10
DNS2=195.222.32.20

# Make the PPPoE connection your default route.  Set to
# DEFAULTROUTE=no if you don't want this.
DEFAULTROUTE=yes

### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

# How long pppoe-start waits for a new PPP interface to appear before
# concluding something went wrong.  If you use 0, then pppoe-start
# exits immediately with a successful status and does not wait for the
# link to come up.  Time is in seconds.
#
# WARNING WARNING WARNING:
#
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0.  This makes SURE that the machine keeps trying
# to connect forever after pppoe-start is called.  Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
CONNECT_TIMEOUT=30

# How often in seconds pppoe-start polls to check if link is up
CONNECT_POLL=2

# Specific desired AC Name
ACNAME=

# Specific desired service name
SERVICENAME=

# Character to echo at each poll.  Use PING="" if you don't want
# anything echoed
PING="."

# File where the pppoe-connect script writes its process-ID.
# Three files are actually used:
#   $PIDFILE       contains PID of pppoe-connect script
#   $PIDFILE.pppoe contains PID of pppoe process
#   $PIDFILE.pppd  contains PID of pppd process
CF_BASE=`basename $CONFIG`
PIDFILE="/var/run/$CF_BASE-pppoe.pid"

# Do you want to use synchronous PPP?  "yes" or "no".  "yes" is much
# easier on CPU usage, but may not work for you.  It is safer to use
# "no", but you may want to experiment with "yes".  "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=no

# Do you want to clamp the MSS?  Here's how to decide:
# - If you have only a SINGLE computer connected to the DSL modem, choose
#   "no".
# - If you have a computer acting as a gateway for a LAN, choose "1412".
#   The setting of 1412 is safe for either setup, but uses slightly more
#   CPU power.
CLAMPMSS=1412
#CLAMPMSS=no

# LCP echo interval and failure count.
LCP_INTERVAL=20
LCP_FAILURE=3

# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80

# Firewalling: One of NONE, STANDALONE or MASQUERADE
FIREWALL=NONE

# Linux kernel-mode plugin for pppd.  If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
LINUX_PLUGIN=

# Any extra arguments to pass to pppoe.  Normally, use a blank string
# like this:
PPPOE_EXTRA=""

# Rumour has it that "Citizen's Communications" with a 3Com
# HomeConnect DSL Modem DualLink requires these extra options:
# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

# Any extra arguments to pass to pppd.  Normally, use a blank string
# like this:
PPPD_EXTRA=""


########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
# If you wish to COMPLETELY overrride the pppd invocation:
# Example:
# OVERRIDE_PPPD_COMMAND="pppd call dsl"

# If you want pppoe-connect to exit when connection drops:
# RETRY_ON_FAILURE=no
when I try eciadsl-start command I get:

Code:
Syd-Linux:~# eciadsl-start

[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is OK

[EciAdsl 2/5] Uploading firmware...

ERROR: modem not found
Syd-Linux:~#
when I try pppoe-start :

Code:
Syd-Linux:~# pppoe-start
................TIMED OUT
/usr/sbin/pppoe-start: line 194:  2896 Terminated              $CONNECT "$@" >/dev/null 2>&1
Syd-Linux:~#
and in syslog output at the same time:

Code:
Sep 27 03:00:52 localhost pppd[3190]: pppd 2.4.3 started by root, uid 0
Sep 27 03:00:52 localhost hal.hotplug[3197]: could not get mountpoint for sysfs
Sep 27 03:00:52 localhost pppd[3190]: Using interface ppp0
Sep 27 03:00:52 localhost pppd[3190]: Connect: ppp0 <--> /dev/pts/2
Sep 27 03:00:52 localhost pppoe[3192]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Sep 27 03:00:52 localhost pppd[3190]: Modem hangup
Sep 27 03:00:52 localhost pppd[3190]: Connection terminated.
Sep 27 03:00:52 localhost pppd[3190]: Exit.
Sep 27 03:00:52 localhost pppoe-connect: PPPoE connection lost; attempting re-connection.
Sep 27 03:00:52 localhost hal.hotplug[3209]: could not get mountpoint for sysfs
results of mount -v

Code:
Syd-Linux:~# mount -v
/dev/hde1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hde6 on /home type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda5 on /mnt/D type vfat (rw,noexec,nosuid,nodev,quiet,umask=0)
none on /proc/bus/usb type usbdevfs (rw)
From my /var/log/messeges, section on usb:

Code:
Sep 20 02:21:13 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
Sep 20 02:21:13 localhost kernel: usb-uhci.c: Detected 2 ports
Sep 20 02:21:13 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
Sep 20 02:21:13 localhost kernel: hub.c: USB hub found
Sep 20 02:21:13 localhost kernel: hub.c: 2 ports detected
Sep 20 02:21:13 localhost kernel: PCI: Found IRQ 5 for device 00:04.3
Sep 20 02:21:13 localhost kernel: PCI: Sharing IRQ 5 with 00:04.2
Sep 20 02:21:13 localhost kernel: PCI: Sharing IRQ 5 with 00:09.0
Sep 20 02:21:13 localhost kernel: PCI: Sharing IRQ 5 with 00:0d.0
Sep 20 02:21:13 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5
Sep 20 02:21:13 localhost kernel: usb-uhci.c: Detected 2 ports
Sep 20 02:21:13 localhost kernel: usb.c: new USB bus registered, assigned bus number 2
Sep 20 02:21:13 localhost kernel: hub.c: USB hub found
Sep 20 02:21:13 localhost kernel: hub.c: 2 ports detected
Sep 20 02:21:13 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Sep 20 02:21:13 localhost kernel: hub.c: new USB device 00:04.2-2, assigned address 2
Sep 20 02:21:13 localhost kernel: usb.c: USB device 2 (vend/prod 0x2001/0x5100) is not claimed by any active driver.
Sep 20 02:21:13 localhost kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Sep 20 02:21:13 localhost kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Sep 20 02:21:13 localhost kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Sep 20 02:21:13 localhost kernel: hub.c: new USB device 00:04.3-1, assigned address 2
Sep 20 02:21:13 localhost kernel: usb.c: USB device 2 (vend/prod 0x46d/0xc293) is not claimed by any active driver.
Sep 20 02:21:13 localhost kernel: hub.c: new USB device 00:04.3-2, assigned address 3
Sep 20 02:21:13 localhost kernel: usb.c: USB device 3 (vend/prod 0x45e/0x47) is not claimed by any active driver.
Sep 20 02:21:13 localhost kernel: usb.c: registered new driver hiddev
Sep 20 02:21:13 localhost kernel: usb.c: registered new driver hid
Sep 20 02:21:13 localhost kernel: usb_control/bulk_msg: timeout
Sep 20 02:21:13 localhost kernel: input: USB HID v1.00 Joystick [Logitech Inc. WingMan Formula Force GP] on usb2:2.0
Sep 20 02:21:13 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1024
Sep 20 02:21:13 localhost kernel: input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb2:3.0

So it looks like even though I've installed the driver (at last according to this
hxxp://img303.imageshack.us/my.php?image=screenshot4vq.jpg) It's not being used.
And a pic of my network settings.
hxxp://img319.imageshack.us/my.php?image=screen6dt.jpg

I've been reading and trying stuff, but I've run out of ideas. Can anyone help me get the modem working?
BTW, I have dual boot with windows, and it's working there, so I know modem is functioning properly, and is just not configured under Linux.

xx=tt. Not enough posts to put url links.
 
Old 09-27-2005, 08:50 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
My friend, in the UK, most BB isp's, if they offer a free modem, offer USB models.

Lots of them can be made too work, but this can be "an uphill climb" (of which, I have memories of that grim experience).

My best suggestion, is that you obtain an adsl ethernet modem/router. Most of them are configured in a browser (login/password etc). You may or may not need to get an ethernet NIC (I got one for about 8).

If you dual boot, then just plug it all in and follow the instructions (they usually come with a windows set up disc). then just boot into linux and configure the LAN IP for eth0 (or whatever is used).

Bingo!

None of this file mod nonsense or any other for that matter.

It's easy to forget, USB wasn't designed for networking. Ethernet was - hence greater support under linux (as well as generally much easier and stress free config).

There may be something at sourceforge for that modem (there certainly is for the Alcatel/Thomson Speedtouch USB modems - which have been sold/distributed widely in Europe).

Sorry I can't help more - but it's 3 years since I had to config my old speedtouch USB - and I couldn't replace it fast enough when I learned of the benefits of using ethernet instead

regards

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of ADSL modem iqbala Linux - Hardware 4 10-18-2005 01:38 PM
installation of adsl usb modem topherman Linux - Newbie 2 07-05-2005 05:35 PM
ADSL modem installation manx_bkk Linux - Networking 0 01-31-2005 06:00 AM
adi usb adsl modem installation problems tonydix Linux - General 2 08-05-2004 09:21 AM
adi usb adsl modem installation problems tonydix Red Hat 1 10-16-2003 03:04 PM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration