LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ADSL modem installation problems (https://www.linuxquestions.org/questions/linux-newbie-8/adsl-modem-installation-problems-367339/)

syd2o2 09-26-2005 08:58 PM

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.

bigjohn 09-27-2005 07:50 AM

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


All times are GMT -5. The time now is 09:04 AM.