LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-12-2010, 02:04 AM   #1
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
eth0 only connects at boot


I am running slackware64-current and I have a Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe ethernet controller which uses the tg3 kernel module. I am using the default huge kernel. Firstly, the card isn't recognized with default settings, but inserting the following line into modprobe.conf fixes that:
Code:
install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3
This allows ethernet to obtain a dhcp lease during the boot process, however, if I get disconnected or unplug the cable, I am no longer able to re-establish a connection.

I have tried:
dhclient eth0
dhcpcd eth0
/etc/rc.d/rc.inet1 restart

and all simply time out before obtaining an IP, and I have to reboot in order to get back online.

I have also tried running both init scripts (rc.S and rc.M) to no avail.

Not sure how to resolve this, but I am open to suggestions. Thanks.
 
Old 02-12-2010, 02:21 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
You should be able to issue, as the root user:
ifconfig eth0 down

Check it to make sure:
ifconfig
and eth0 should be missing.

Then do this:
dhcpcd -N eth0 OR dhcpcd eth0
I use the -N because I don't like having my ntp server settings messed with. But you have to change Slackware's initialization scripts as well or this doesn't matter.

You can also do:
/etc/rc.d/rc.inet1 eth0_stop
and /etc/rc.d/rc.inet1 eth0_start
That should have the same effect as a reboot.
 
Old 02-12-2010, 02:50 AM   #3
botnet
Member
 
Registered: May 2009
Posts: 158

Original Poster
Rep: Reputation: 40
The issue turns out to be with the modules broadcom and tg3 and wicd.

The following appears to resolve the issue

modprobe -r broadcom
modprobe -r tg3
killall wicd
modprobe broadcom
modprobe tg3
/etc/rc.d/rc.inet1 restart
wicd
 
Old 02-12-2010, 10:46 AM   #4
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
Yeah. I've always found Broadcom chipsets to be a real pain. Glad you got it working.
 
  


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
eth0 connects to router but not to Internet(e.g. Google.com) MadHatter21 Ubuntu 15 07-25-2009 01:51 PM
Issue with which interface my computer connects at boot. okos Slackware 6 11-24-2008 06:48 PM
wlan0 disconnecting when eth0 connects/disconnects Sammael Linux - Wireless Networking 0 08-15-2006 05:39 AM
wpa_supplicant connects correctly only when eth0 is up... else, it loses connection electrifice Linux - Wireless Networking 3 07-23-2006 01:18 AM
pppoe connects but i need to run 'ifconfig eth0 up' please help.... deepclutch Debian 3 12-08-2005 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:23 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
Open Source Consulting | Domain Registration