LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-23-2006, 03:20 PM   #1
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Rep: Reputation: 16
Question Sagem modem installed in FC5 but browser can't find inet


As the title says, the Sagem modem is up and apparently running on FC5.
After following the instructions on the website (atm.eagle-usb.org) I have the firmware installed. (FC5 includes support for this modem as standard so no extra work there).

At boot I get all (2) modem lights on so I reckon the connection is ok.

$ modprobe pppoatm
$ pppd call ueagle-atm

should connect - but then the fun starts . . .

My trusted Opera Browser which worked fine via a dialup and KPPP can't find the internet.

$ ifconfig
finds that instead of responding "ppp0" and some text I get "lo" local loopback.

1 - I guess that this is the core of the problem so - Any comments guys ?
2 - What commands show the allocation/usage of my 5 USB ports ?

Mike
 
Old 04-24-2006, 09:23 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
you usd pppd to dialout?
one would normally use the network device control (in system tools) or wvdial from the commandline.

have a look at dmesg | grep usb
 
Old 04-24-2006, 03:17 PM   #3
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
more info on status

Thanks Simon,

Since I've been following the instructions in UEagleAtm:AtmDoc it says that for a PPPoA setup I should, after configuring ppp via creation of a file called ueagle-atm in /etc/ppp/peers and modifying /etc/ppp/chap-secrets
(Just noticed that it references /etc/ppp/pap-secrets too but I haven't touched that at all ?!)
do>
$ modprobe pppoatm
$ pppd call ueagle-atm

and then
$ ifconfig to check the connection >> result>
[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1115 errors:0 dropped:0 overruns:0 frame:0
TX packets:1115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1906808 (1.8 MiB) TX bytes:1906808 (1.8 MiB)--------
for more info>>
$ [root@localhost ~]# dmesg | grep eagle
[ueagle-atm] driver ueagle 1.2 loaded
usb 3-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9031) : Eagle III
usb 3-1: [ueagle-atm] using iso mode
usb 3-1: [ueagle-atm] (re)booting started
usbcore: registered new driver ueagle-atm
usb 3-1: [UEAGLE-ATM] requesting firmware ueagle-atm/DSPep.bin failed with error -2
then last line repeated many times

so it appears there is a software problem - but I don't know how to cure it.
-------
[root@localhost ~]# dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb usb5: configuration #1 chosen from 1 choice
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9031) : Eagle III
usb 3-1: reset full speed USB device using uhci_hcd and address 2
usb 3-1: [ueagle-atm] using iso mode
usb 3-1: [ueagle-atm] (re)booting started
usbcore: registered new driver ueagle-atm
usb 3-1: [UEAGLE-ATM] requesting firmware ueagle-atm/DSPep.bin failed with error -2

then last line repeated many times
========
Can you translate that for me - what is it telling me ?
A file DSPep.bin is in /usr/lib/firmware/ueagle-atm.

p.s. Network Device Control has nothing listed and no option to add anything.

Mike
(sorry for the delays but access time is limited and re-booting to run linux (i'm in windoze now) doesn't help either).
 
Old 04-25-2006, 12:55 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Code:
usb 3-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9031) : Eagle III
usb 3-1: reset full speed USB device using uhci_hcd and address 2
usb 3-1: [ueagle-atm] using iso mode
usb 3-1: [ueagle-atm] (re)booting started
usbcore: registered new driver ueagle-atm
usb 3-1: [UEAGLE-ATM] requesting firmware ueagle-atm/DSPep.bin failed with error -2
This means that the modem was detected, and the correct driver claimed it. However, the driver wants proprietary firmware (beware the p-word) ... the firmware failed to load. Either it is the wrong firmware or it is in the wrong place.

ifconfig should be telling you about a new ppp0 connection I think... that it dosn't says that the device is not activated. This is consistent with the firmware not loading. (lo = loopback - is your computer's internal network. 127.0.0.1 is the IP of localhost)

Going through the ueagle instructions slowly.
Quote:
In firmware directory you should have:

* usb firmware : EagleI.fw, EagleII.fw and EagleIII.fw
* dsp firmware : DSPxy.bin
* CMV : CMVxy.bin
... presumably "xy"="ep" for you. Note: the example is for Debian GNU/Linux ... if you are not installing this under Debian, then your hotplug-firmware directory may in a different place. For eg. In FC4 it is
Code:
grep FIRMWARE_DIR= etc/hotplug/firmware.agent
FIRMWARE_DIR=/lib/firmware
So I would put the firmware in /lib/firmware/ueagle-atm/
(note: the instructions got the grep search-string wrong.)

Last edited by Simon Bridge; 04-25-2006 at 12:59 AM.
 
Old 04-25-2006, 03:25 PM   #5
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
we advance

Simon,
the eagle files were in /usr/lib/firmware/ueagle-atm - I've shifted them to /lib/firmware/ueagle-atm and rerun

$ modprobe pppoatm
$ pppd call ueagle-atm

========
$ ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:88.106.89.197 P-t-P:212.74.111.234 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:64 (64.0 b) TX bytes:94 (94.0 b)
=======
looking much better . . then got kicked off the computer by "can I use it now dad !" - so I'll test it 2morrow.

Thanks
Mike
 
Old 04-25-2006, 11:56 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
That looks excellent.

I take it then that:
grep FIRMWARE_DIR= /etc/hotplug/firmware.agent
... returned
FIRMWARE_DIR=/lib/firmware/
???

Last edited by Simon Bridge; 04-25-2006 at 11:59 PM.
 
Old 04-26-2006, 04:12 PM   #7
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
update and follow on.

Simon, in answer to your question the result was:

[root@localhost ~]# grep FIRMWARE_DIR= etc/hotplug/firmware.agent
grep: etc/hotplug/firmware.agent: No such file or directory
======
I also did $ locate .agent and came up with a null result so I just put the file where you suggested - it seems to work for FC5 too.
======

Since the driver and the firmware are now, apparently, working ok I wonder what I have to do to. . .
a) find out to which usb port it is mounted (dmesg ¦ grep usb is below)
b) find how to use / access the modem !

Opera browser still says no connection present. When I mentioned in a previous posting that I use kppp to connect to my previous modem you said "one would normally use the network device control (in system tools) or wvdial from the commandline".
- I hate command lines (always use a gui if I can !)
- Network Device Control lists no options and has no "add" button so I assume that either it should pick up the options automatically ? or there is a config file somewhere ?

$ dmesg ¦ grep usb
gives:
[root@localhost ~]# dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9032) : Eagle III
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb usb5: configuration #1 chosen from 1 choice
usb 2-1: [ueagle-atm] pre-firmware device, uploading firmware
usb 2-1: [ueagle-atm] loading firmware ueagle-atm/eagleIII.fw
usb 2-1: USB disconnect, address 2
usbcore: registered new driver ueagle-atm
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9032) : Eagle III
usb 2-1: reset full speed USB device using uhci_hcd and address 3
usb 2-1: [ueagle-atm] pre-firmware device, uploading firmware
usb 2-1: [ueagle-atm] loading firmware ueagle-atm/eagleIII.fw
usb 2-1: [ueagle-atm] firmware uploaded
usb 2-1: USB disconnect, address 3
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X9031) : Eagle III
usb 2-1: reset full speed USB device using uhci_hcd and address 4
usb 2-1: [ueagle-atm] using iso mode
usb 2-1: [ueagle-atm] (re)booting started
usb 2-1: [ueagle-atm] modem operational
usb 2-1: [ueagle-atm] ATU-R firmware version : 44e2ea17

From the above, something seems to be happening with both usb4 and usb5 but at the end it confirms modem operational.

can U possibly suggest what I should do now.

Thanks
Mike
=====
 
Old 04-27-2006, 12:09 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
[root@localhost ~]# grep FIRMWARE_DIR= etc/hotplug/firmware.agent
grep: etc/hotplug/firmware.agent: No such file or directory
You left off the leading / in the path. /etc/hotplug/firmware.agent

FC5! ahah - did you say earlier?

Aside:
http://www.linuxquestions.org/questi...d.php?t=319622
 
Old 04-27-2006, 12:19 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Since the driver and the firmware are now, apparently, working ok I wonder what I have to do to. . .
a) find out to which usb port it is mounted (dmesg ¦ grep usb is below)
b) find how to use / access the modem !
Well, the modem does not have a filesystem, so it won't be mounted anywhere. At a guess, I'd say it would find itself someplace like /dev/ttyUSB0 (see if there is such a device). You may also want to see if there is a soft link called /dev/modem and where it points to.

(You can test possible devices with: echo "atdt 5551234" > /dev/modem" and see if it dials - or use minicom)

You could try configuring ppp0 in the NDC or using the internet configuration wizard to (add new modem) autodetect it.

If all else fails, read the manual

Last edited by Simon Bridge; 06-28-2007 at 08:54 PM.
 
Old 06-28-2007, 09:30 AM   #10
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
USB modem in Fedora 7 - seems ok but no internet

- at boot :
error message - USB1-1 device not accepting address 2 error 71.
- then: dmesg¦ grep eagle shows firmware uploaded; ADSL driver founded vid (0X1110) pid (0X9031) Eagle III pots; using iso mode; rebooting; modem started, waiting sync; modem operational.

The modem light are both on ; the above text shows its operational BUT the browsers can't access the internet.

Any ideas please
(no i don't want to buy an ethernet modem when the usb worked fine on fc5)
=============
From the previous messages in the thread I have been here before but in the end I used the sagem fast 800 E3 USB modem without any problems until the installation of Fedora 7 ('Fed7').
The driver has been included into the core for this distro and it should have been a simple upgrade from fc5 to Fed7 (yes i skipped fc6).
=============

Mike
 
Old 06-28-2007, 12:32 PM   #11
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
More info - re syslog.

So: Why won't the browsers (Konquorer, Firefox, Opera) recognise the internet connection ?

============
looking at /var/syslog

CHAP authentication succeeded
PPP deflate compression module registered
quotes local & remote IP addresses
quotes primary and secondary IP addresses

then - don't know if this is related ??
create_udp_client: hostname lookup failed - no such process
create_tcp_client: hostname lookup failed - no such process

Then
following killall pppd

confirms that connection time was 31.1 minutes and that 6887 bytes were sent & 4707 received
============
Mike
 
Old 06-28-2007, 09:22 PM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
There has been a thread about that sagem before...
http://www.linuxquestions.org/questi...d.php?t=314153
... note, if you compiled the drivers, then you will need to repeat for each new kernel.

The sagem is an adsl modem? You are not the only one having trouble with that brand on recent distros.

As with your case, you can ping the modem, browse to the admin, but no access to the outside net. Switch off SELinux, your firewall, and IPv6 and see if that helps. But, basically, there is nothing wrong on the linux end. It is possible that the firmware just doesn't work with the kernel.

You can get a clearer idea with
(modem unplugged)
dmesg > before

(plug modem in)
dmesg > after
diff before after

Quote:
usb worked fine on fc5
I would not say that... you needed proprietary firmware: this is anything but "fine"! The trouble is that the proprietary part can just stop working and nobody will be able to do anything. Typically, they don't work as well as they look-like anyway.

OSS/FS professionals will always advise using ethernet modems.
http://faq.eagle-usb.org/wakka.php?wiki=ModemSupport
Quote:
CAUTION : ADSL USB modems cannot really be well supported under GNU/Linux, even though they may seem to work from a user's point of view. Although vendor may provide some technical help, all ADSL USB drivers are plagued with closed firmware (proprietary, no source code given, no licence compatible with Free Software) that prevent good understanding of inner-working of those modems. We recommend that you buy ethernet modems that rely - for most of them - on completely free drivers (as in free speech).
 
Old 06-29-2007, 01:44 AM   #13
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
Thanks for the interest - I thought that i was on my own !

Quote:
Originally Posted by Simon Bridge
There has been a thread about that sagem before...
http://www.linuxquestions.org/questi...d.php?t=314153
... note, if you compiled the drivers, then you will need to repeat for each new kernel.
the drivers are part of the F7 standard build, the only thing that (i believe) that i did was install the uEagle firmware.

Quote:
Originally Posted by Simon Bridge
The sagem is an adsl modem? You are not the only one having trouble with that brand on recent distros.
the modem worked perfectly on fc5. Its only with my new F7 installation that there is a problem. Note that there is an E4 version of the modem that is giving problems (mine is the older E3)

Quote:
Originally Posted by Simon Bridge
As with your case, you can ping the modem, browse to the admin, but no access to the outside net. Switch off SELinux, your firewall, and IPv6 and see if that helps. But, basically, there is nothing wrong on the linux end. It is possible that the firmware just doesn't work with the kernel.
You can get a clearer idea with
(modem unplugged)
dmesg > before

(plug modem in)
dmesg > after
diff before after
OK - invesigation running.


Quote:
Originally Posted by Simon Bridge
OSS/FS professionals will always advise using ethernet modems.
http://faq.eagle-usb.org/wakka.php?wiki=ModemSupport
Yes - but that means buying a modem (£35)(with the attendant questions of 'which one is compatible with linux' (? netgear dm111p?). That peeves me when the current modem worked fine with fc5).

I'll post again when i have checked out your suggestion above.
Mike
 
Old 06-29-2007, 03:20 AM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
the modem worked perfectly on fc5. Its only with my new F7 installation that there is a problem. Note that there is an E4 version of the modem that is giving problems (mine is the older E3)
Yes, I noticed and was careful to check. There are a range of very similarly named modems from sagem, which vary a great deal in their capabilities.

Quote:
but that means buying a modem (£35)(with the attendant questions of 'which one is compatible with linux' (? netgear dm111p?).
I think I can knock 10 pounds off that. http://www.broadbandbuyer.co.uk/Shop...?CategoryID=34 ... and there are no compatibility issues. Make sure it is configurable via http. (Second hand will be even cheaper.)
Quote:
That peeves me when the current modem worked fine with fc5).
Well sure... but as stated, proprietary stuff will not always work, and when it does, not well. Being annoying doesn't stop it from being right.

Netgear:
http://www.linuxquestions.org/hcl/sh...t=1291&cat=172
... from the HCL, the one you mention:
http://www.broadbandbuyer.co.uk/Shop...ProductID=3826
... has a mixed reception. It is quite hard to find an ethernet modem that is not compatible with linux, this one seems to be iffy with everything. How do you do it?

Interestingly, there are compatible switch/router/modem combos that are cheaper.
 
Old 06-29-2007, 04:36 AM   #15
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
Thanks for your patience !

Actions taken:
1st Verified that firewall and selinux are off - no change.

2nd edited modprobe.conf to blacklist ipv6 - still seems to be on.
3rd created /etc/modprobe.d/blacklist_ipv6 - no change
4th rmmod ipv6 - in use , can't remove.
5th added blacklist ipv6 to /etc/modprobe.d/blacklist - no change to browser i/f but rmmod ipv6 now says module is in use by ip6t_REJECT; lsmod ¦ grep ipv6 gives "ipv6 276673 31 ip6t_REJECT. - no change to inet access

From here:
Decided to follow your advice and go for an ethernet modem or modem / router. . . .
Will look at the HCL etc for advice and check sources.
Don't need/want wireless so that should be cheaper.

Hopefully the next update to this will be posting that all is ok ??

Thanks again
Mike
 
  


Reply



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
sagem FAST E3 MODEM BACTRATE Mandriva 0 08-11-2005 10:44 AM
Installing Sagem@800 Modem spiceskull Linux - Laptop and Netbook 1 02-09-2005 06:17 PM
Tiscali and Sagem Modem chiller2123 Linux - Hardware 1 07-06-2004 02:34 PM
I have installed the drivers but linux still can't find my modem. BooDaH Linux - Software 6 05-08-2004 11:34 PM
SAGEM Modem and KPPP under 9.1 glennmsmith Mandriva 9 10-19-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:02 AM.

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
Open Source Consulting | Domain Registration