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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-28-2006, 11:08 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2006
Distribution: Mandriva 2007
Posts: 9
Rep:
|
USB ADSL modem is detected only at boot - Mandriva 2007
Hello everyone,
Hardware: Compaq Presario 2184 notebook
ADSL modem - connected though USB
OS: Mandriva 2007
My net connection only works when I switch on my modem prior to boot.
(1) In KDE, when the modem is disconnected (physically/switched off) and re-connected, most of the time, the net connection automatically gets re-established. Sometimes, nothing happens, and when I do (as root)
, I get
Quote:
Bringing up interface eth2: [FAILED]
Device eth2 does not seem to be present, delaying initialisation
|
After which, I have to reboot. Other USB devices, such as my memory stick, continue to be auto-detected after getting this message. I get the same message when I do
(2) In ICEWM, when the modem is disconnected, I almost always have to reboot to get back online.
I would be very grateful if someone can suggest a way of bringing up interface eth2 without having to reboot the system.
Thanks in advance,
Guru
|
|
|
|
12-30-2006, 07:27 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
in KDE why dont you add the network applet, to the panel?....but in mcc first set up your netwok to be hotplugged and allow users to start the service...otherwise you will need root passwd to connect
|
|
|
|
01-02-2007, 04:49 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2006
Distribution: Mandriva 2007
Posts: 9
Original Poster
Rep:
|
Thanks for the reply, aus9.
The network applet has been there the panel. When the network gets disconnected, and I use the applet to reconnect (it asks for the root password, which I provide), nothing happens. Also,network hotplugging is enabled in MCC.
I've noticed that when the network is working, I can see "USB Network Interface" under "Ethernetcard" in Harddrake, after the network is disconnected, this entry in Harddrake (sometimes!) dissapears.
Just discovered something: when network is working, lsusb gives
Code:
Bus 001 Device 002: ID 0a5c:6300 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000
, whereas when the network is down, lsusb gives
Code:
Bus 001 Device 001: ID 0000:0000
.
Could this give some clue about what's happening?
Thanks,
Guru
Last edited by GuruPrasad; 01-02-2007 at 07:18 AM.
|
|
|
|
01-02-2007, 07:22 AM
|
#4
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
no but go back into mcc....networking and redo connection....it will have an option to allow users to connect....which will stop the root passwd request
|
|
|
|
01-02-2007, 08:18 AM
|
#5
|
|
LQ Newbie
Registered: Feb 2006
Distribution: Mandriva 2007
Posts: 9
Original Poster
Rep:
|
Eureka!!
udevstart (as root) does the trick, the modem is detected, and then the network can be reconnected without rebooting (phew!)
Still, I'd like to know why this happens, and I've noticed that sometimes the usbnet device dissappears without any reason. Is there someway I can configure udev so that hotplugging happens smoothly?
Cheers,
Guru
Last edited by GuruPrasad; 01-02-2007 at 08:22 AM.
|
|
|
|
01-03-2007, 06:18 AM
|
#6
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
well I have never looked into it....but since you found it you may want to look at
/etc/udev/rules
and check (on mine)
61-net-config
62-persistant.....but as I do not have usb you may also need to look at the usb rules
2) go into mcc...services and turn off HAL and see if your usb is still good on re-connect if so...hal is not required otherwise you need to read about the hal daemon as well.
Last edited by aus9; 01-03-2007 at 06:22 AM.
|
|
|
|
01-06-2007, 03:35 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2006
Distribution: Mandriva 2007
Posts: 9
Original Poster
Rep:
|
Again, Eureka!!
I spent some time looking at the system logs (there's a nice search interface in MCC, btw).Whenever the USB cable was physically disconnected, there was an error message from something caled ifplugd. I looked at the ifplugd.conf file, and found a line which read
which I changed to
,
since my connection was configured on eth2, not eth0. Initially, it didn't seem to do any good, but after a reboot, things are working like a charm.
Hope this is useful to someone else, and thanks aus9 for the help!
Cheers,
Guru
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:01 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|