LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-06-2010, 03:35 PM   #16
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41

Code:
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
08:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
The Atheros card is your wireless adapter, which is already loaded by the kernel; the Broadcom NetLink is your ethernet card, the one you want to use. You'll need to follow camorri instructions in order to get your calbe internet working.
 
Old 12-06-2010, 05:15 PM   #17
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 240

Original Poster
Rep: Reputation: 2
I think we are getting closer, but still not there. I
put in the commands recommended and here is a screen
capture of the commands and results:

root@queen:~# modprobe -r tg3
root@queen:~# modprobe broadcom
root@queen:~# modprobe tg3
root@queen:~# 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

=================================================
As you can see there is still no mention of eth0
in the results of ifconfig, and I still can't get
on the internet after running this:

i wonder what is tg3. Could it be I should have
removed the wireless driver, ath9k?

Last edited by EldonCool; 12-06-2010 at 05:20 PM.
 
Old 12-06-2010, 06:20 PM   #18
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,588

Rep: Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662
Any time you want to know what a module is, or is for, run the command 'modinfo modulename', here is what tg3 shows on my system.

Quote:
modinfo tg3
filename: /lib/modules/2.6.33.7-desktop-1mnb/kernel/drivers/net/tg3.ko.gz
firmware: tigon/tg3_tso5.bin
firmware: tigon/tg3_tso.bin
firmware: tigon/tg3.bin
version: 3.106
license: GPL
description: Broadcom Tigon3 ethernet driver
author: David S. Miller (davem@redhat.com) and Jeff Garzik (jgarzik@pobo
And for the broadcom driver.

Quote:
modinfo broadcom
filename: /lib/modules/2.6.33.7-desktop-1mnb/kernel/drivers/net/phy/broadcom.ko.gz
license: GPL
author: Maciej W. Rozycki
description: Broadcom PHY driver
I'm wondering if you need to restart the network? This is slackware, and I'm not sure if there may be something else we need to do. BTW, if you restart the system, the broadcom module will not be loaded. We need to find out how, is slackware you load modules. Different distros have different ways of doing things. I believe you need that module loaded for this card to work. I'll do some pocking around and post back.

On my system I can restart the network with the command '/etc/rc.d/init.d/network restart'. This may work on slackware. Give it a go, then see if eth0 shows up...

Last edited by camorri; 12-06-2010 at 06:59 PM.
 
Old 12-06-2010, 07:50 PM   #19
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Slackware does not use the sysvinit-functions style; it's the BSD style; every script fot initialization is under /etc/rc.d

Usually udev does the work on loading the modules, yours, however, seems to not be doing the job, and I don't know why. Try always to use "ifconfig -a", the -a option will list even the not up and running cards (those that are activated by ifconfig up). After loading the modules broadcom and tg3, what is the output of "ifconfig -a"?

EDIT: Taking a look at the output of modinfo tg3 from camorri, reminded me: do you have the firmware installed? After the modules modprobe, put the last lines of the output from dmesg, too.

Last edited by rfernandez; 12-06-2010 at 07:53 PM.
 
Old 12-06-2010, 08:55 PM   #20
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 240

Original Poster
Rep: Reputation: 2
Quote:
On my system I can restart the network with the command '/etc/rc.d/init.d/network restart'. This may work on slackware. Give it a go, then see if eth0 shows up...
Nope, no such file on my Slackware. I tried the find
command for files named "network" and found 4 files,
none of them are executable.
 
Old 12-06-2010, 11:27 PM   #21
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
On Slackware it's /etc/rc.d/rc.inet1 restart There is a man page for rc.inet1

For further reinitialisation, have you tried removing /etc/udev/rules.d/70-persistent-net.rules? It is auto-generated with the purpose of ensuring specific hardware gets the same device name each boot.
 
Old 12-07-2010, 05:04 AM   #22
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,610
Blog Entries: 34

Rep: Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793
Hi,

Welcome to LQ!


Please note the suggested threads at the bottom of this thread. You might find some useful information.
Plus a
Search here on LQ may turn up additional help with proper keywords.

What do you get from the 'dmesg' at boot time for the Ethernet network?

What do you get when you enter this from the cli: 'dmesg |grep -i broadcom'? omit the ' marks.

Please post 'lsmod' output in vbcode tags. If the correct modules are loaded then we will need to diagnose other potential areas.

You have confirmed that the network cable is OK? Check by removing from the jack at both ends and reinsertion. This will wipe the contacts.

If you remove the '/etc/udev/rules.d/70-persistent-net.rules' file it will regenerate at boot.
Code:
sample: /etc/udev/rules.d/70-persistent-net.rules;
  
# This file was automatically generated by the /lib/udev/write_net_rules 
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x14e4:0x170c (b44) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:b9:51:81:1a", ATTR{dev_$

# PCI device 0x14e4:0x4312 (b43-pci-bridge) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:7d:5e:e5:20", ATTR{dev_$
I would like to see the content of the '/etc/udev/rules.d/70-persistent-net.rules' file after a reboot.
You said that 'netconfig' was used to configure.

Post '/etc/rc.d/rc.inet1.conf' file to check for correctness.


Configuring your network in Slackware
is Alien_Bob's excellent article on the way network cards are configured in Slackware. Plus there are Loads of internal reference links. Help getting Ethernet or Wireless working.

BTW, you can 'man command' to get the definition and options for any command we suggest. By using 'ifconfig -a';

Quote:
from 'man ifconfig';

-a display all interfaces which are currently available, even if down

So what does 'ifconfig -a' show?
Please post requested information and use the vbcode tags in the reply. The code tag # is at the top of your reply window, the quote is the balloon to the left of the #. By use of the code tags your posts will be cleaner therefore easier to read when diagnosing.

I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem/query.



Just a few more useful links;


SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


 
Old 12-07-2010, 06:39 AM   #23
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 240

Original Poster
Rep: Reputation: 2
Quote:
What do you get from the 'dmesg' at boot time for the
Ethernet network?

What do you get when you enter this from the cli:
'dmesg |grep -i broadcom'? omit the ' marks.

Please post 'lsmod' output in vbcode tags. If the correct
modules are loaded then we will need to diagnose other
potential areas.
Quote:
You have confirmed that the network cable is OK?
Yes, tried two different cables, connected to
two different slots on router, both cables
work good with windows, but not linux.

I don't know how to get vbcode on my output from lsmod.

No messages from dmesg on broadcom, however there is this
concerning eth:
Quote:
tg3.c:v3.106 (January 12, 2010)
tg3 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
tg3 0000:02:00.0: setting latency timer to 64
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
tg3 mdio bus: probed
eth%d: No PHY devices
tg3: Problem fetching invariants of chip, aborting.
tg3 0000:02:00.0: PCI INT A disabled
Note PCI INT A is set to 16 then disabled.

Note the eth%d which is probably trying to find eth0, eth1 etc.
Wonder what tg3 is that seems to be connected.
This would indicate that it is not finding the ethernet
adapter, I am guessing, which is funny, because it
found it once upon on a time, and windows finds it
everytime it loads up.


Also dmesg had this concerning ath:
Quote:
ath9k 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath9k 0000:08:00.0: setting latency timer to 64
Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04731/0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/
ath: EEPROM regdomain: 0x65
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x65
phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xffffc900016e0000, irq=17
Note PCI INT A is set to 17.

Concerning this comment:
Quote:
On Slackware it's /etc/rc.d/rc.inet1 restart There is a man
page for rc.inet1

For further reinitialisation, have you tried removing
/etc/udev/rules.d/70-persistent-net.rules? It is
auto-generated with the purpose of ensuring specific
hardware gets the same device name each boot.
/etc/rc.d/rc.inet1 restart was unsuccessful.

rules removed, ping still not working, Network is
unreachable, message displayed.

Quote:
I would like to see the content of the '/etc/udev/rules.d/70-persist
You said that 'netconfig' was used to configure.

Post '/etc/rc.d/rc.inet1.conf' file to check for correctness.
I saved the rules file, but I am guessing it is
the problem of not finding the ether net adapter
at boot time, so won't put up the copy of rules
right now, likewise on rc.inet1.

netconfig is the slackware program
for configuring network, I believe. I have
used it quite a bit. I previously had a lot
of trouble on another computer that I could
not get on the internet with. The problem
on that one was that I had two network adapters,
and netconfig was configuring the wrong one,
but anyway it gave me a lot of experience
running netconfig, so I am pretty familar with
it.

Last edited by EldonCool; 12-07-2010 at 07:11 AM.
 
Old 12-07-2010, 07:06 AM   #24
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 211

Rep: Reputation: 22
another poster suggested...
Quote:
I would like to see the content of the '/etc/udev/rules.d/70-persistent-net.rules' file after a reboot.
this may be where the issue is...I've had isolated issues in the past (Slack 13 on Dell D600 laptops )where some gremlin in the boot process would swap names for eth0 and eth1 resulting in neither cable nor wireless network device being functional...I had to go in and manually edit the 70-persistent-net.rules file.

do ifconfig -a and make note of the mac addresses of your network cards,
then vi /etc/udev/rules.d/70-persistent-net.rules and compare the mac addresses listed there and make sure eth0 and eth1 are associated correctly, change if necessary and reboot
this worked for me on a couple of occasions and as always YMMV

also just as inexplicably, this renaming of interfaces cleared up on its own...

Last edited by the_penguinator; 12-07-2010 at 07:10 AM.
 
Old 12-07-2010, 07:48 AM   #25
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,610
Blog Entries: 34

Rep: Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793
Hi,

@OP


You are requesting help, by not posting or interaction when asked, you just put up blocks. Thus preventing us from aiding you.


Since you don't followed advice as suggested then you seem to know what your doing. Right?


There is some methodology in our requests, if you want to get this going then provide the details.


To get the information for lsmod then do from the cli; lsmod > mylsmod.txt


Post the redirected file mylsmod.txt in the vbcode tags. You've already done if for quotes from other posts, those are vbcode tags for quote. The code tag is # in the reply window at top.


So you have got the tg3. For some reason your not getting the 'broadcom' module;


Code:
~# modinfo broadcom
filename:       /lib/modules/2.6.33.4/kernel/drivers/net/phy/broadcom.ko
license:        GPL
author:         Maciej W. Rozycki
description:    Broadcom PHY driver
depends:        libphy
vermagic:       2.6.33.4 SMP mod_unload
Code:
modinfo tg3
filename:       /lib/modules/2.6.33.4/kernel/drivers/net/tg3.ko
firmware:       tigon/tg3_tso5.bin
firmware:       tigon/tg3_tso.bin
firmware:       tigon/tg3.bin
version:        3.106
license:        GPL
description:    Broadcom Tigon3 ethernet driver
author:         David S. Miller (davem@redhat.com) and Jeff Garzik (jgarzik@pobox.com)
srcversion:     03109181AF718A750DEC749
alias:          pci:v0000106Bd00001645sv*sd*bc*sc*i*
alias:          pci:v0000173Bd000003EAsv*sd*bc*sc*i*
<snip alias>
alias:          pci:v000014E4d00001645sv*sd*bc*sc*i*
alias:          pci:v000014E4d00001644sv*sd*bc*sc*i*
depends:        libphy
vermagic:       2.6.33.4 SMP mod_unload 
parm:           tg3_debug:Tigon3 bitmapped debugging message enable value (int)
You should be loading the 'broadcom' then the 'tg3'. Please notice the depends above.
I snipped out 'alias' section for ease of reading. You can modinfo if interested.

Delete the
'/etc/udev/rules.d/70-persistent-net.rules' then reboot, the file will regenerate at boot. Post it!

I'm not going to participate until you start interacting. By your continued second guessing, we just spin our wheels thus getting no where.


Just a few more useful links;


SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux




The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


Last edited by onebuck; 12-07-2010 at 07:50 AM. Reason: spelling
 
Old 12-07-2010, 08:37 AM   #26
davide123
Member
 
Registered: Jan 2010
Location: tampa bay fl
Distribution: fedora redhat 9 10 11 12 13 &14 x86_64 & i686; Peppermint, MintOne; RHEL 4 5 6, Ubuntu, SliTaz etc,
Posts: 102

Rep: Reputation: 16
aren't you able to configure the network card via GUI/Network settings? Have you restarted the network /etc/init.d/network restart?
 
0 members found this post helpful.
Old 12-07-2010, 09:34 AM   #27
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by davide123 View Post
aren't you able to configure the network card via GUI/Network settings? Have you restarted the network /etc/init.d/network restart?
Thanks for trying to help but the problem is deeper than that and it's on Slackware so there is no /etc/init.d/network; the equivalent is /etc/rc.d/rc.inet1
 
Old 12-07-2010, 10:02 AM   #28
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 240

Original Poster
Rep: Reputation: 2
Quote:
do ifconfig -a and make note of the mac addresses of your
network cards, then vi /etc/udev/rules.d/70-persistent-net.rules
and compare the mac addresses listed there and make sure eth0 and
eth1 are associated correctly, change if necessary and reboot
this worked for me on a couple of occasions and as always YMMV
Output of "ifconfig -a" shows NO mac address and further
shows no eth0 or eth1.

An old rules file that I saved yesterday showed

PCI device ....(tg3)....NAME="eth0"

where ... is a bunch of nondescript stuff.

The current rules file had no such entry for tg3 and eth0.
curious isn't it, that it did not make this entry today?

So I added this entry to the rules file and tried
pinging, still network unreachable. Next I modified
the rules file and replaced eth0 with eth1. Tried
pinging, network still unreachable, rebooted, tried
pinging again, network still unreachable.checked the
rules file and it is still showing the eth1 that I
put in replacing the eth0 before the latest reboot.
 
Old 12-07-2010, 10:46 AM   #29
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 240

Original Poster
Rep: Reputation: 2
Quote:
To get the information for lsmod then do from the cli;
lsmod > mylsmod.txt

Post the redirected file mylsmod.txt in the vbcode tags.
You've already done if for quotes from other posts, those
are vbcode tags for quote. The code tag is # in the reply
window at top

So you have got the tg3. For some reason your not
getting the 'broadcom' module;
Here is the output of lsmod, but I still don't
have a clue what this code tag # is and I don't
see any number at the top of my reply window.
But somehow a bunch of brackets showed up on
my screen, PHP, CODE,INDENT, LIST, etc and I
put those around the response and it seemed to
format things better, but I have no clue as to
why or how those showed up.
The response:
PHP Code:
[CODE][CODE][CODE][INDENT][LIST]
Module                  Size  Used by
snd_seq_dummy           1487  0
snd_seq_oss            29884  0
snd_seq_midi_event      5620  1 snd_seq_oss
snd_seq                52643  5 snd_seq_dummy
,snd_seq_oss,snd_seq_mi
snd_seq_device          5459  3 snd_seq_dummy
,snd_seq_oss,snd_seq
snd_pcm_oss            39907  0
snd_mixer_oss          15975  1 snd_pcm_oss
ipv6                  273462  16
pcmcia                 30280  0
pcmcia_core            29487  1 pcmcia
cpufreq_ondemand        8453  2
powernow_k8            11244  0 
freq_table              2475  2 cpufreq_ondemand
,powernow_k8
agpgart                29705  0
lp                     10049  0
ppdev                   6315  0
parport_pc             21015  0
parport                29923  3 lp
,ppdev,parport_pc
fuse                   59927  3
snd_hda_codec_atihdmi     2763  1
ath9k                  74463  0
joydev                 10293  0
ath9k_common            2473  1 ath9k
mac80211              171226  2 ath9k
,ath9k_common
snd_hda_codec_realtek   257813  1
ath9k_hw              219094  2 ath9k
,ath9k_common
ath                     8844  2 ath9k
,ath9k_hw
snd_hda_intel          21832  0
snd_hda_codec          65015  3 snd_hda_codec_atihdmi
,snd_hda_codec_
snd_hwdep               6420  1 snd_hda_codec
snd_pcm                71871  3 snd_pcm_oss
,snd_hda_intel,snd_hda_co
snd_timer              19466  2 snd_seq
,snd_pcm
uvcvideo               60908  0
snd                    57142  11 snd_seq_oss
,snd_seq,snd_seq_device,
soundcore               5839  1 snd
rtc_cmos                9278  0
psmouse                47158  0
rtc_core               14766  1 rtc_cmos
videodev               37815  1 uvcvideo
k10temp                 2875  0
snd_page_alloc          7145  2 snd_hda_intel
,snd_pcm
tg3                   123046  0
v4l1_compat            15120  2 uvcvideo
,videodev 
v4l2_compat_ioctl32    11488  1 videodev
shpchp                 31508  0
cfg80211              128711  4 ath9k
,ath9k_common,mac80211,ath
rfkill                 15860  1 cfg80211
thermal                12550  0
i2c_piix4               8664  0
led_class               2785  1 ath9k
video                  18965  0
rtc_lib                 1922  1 rtc_core
processor              29915  1 powernow_k8
output                  1964  1 video
libphy                 16825  1 tg3
thermal_sys            14118  3 thermal
,video,processor
i2c_core               18679  2 videodev
,i2c_piix4
hwmon                   1449  2 k10temp
,thermal_sys
serio_raw               4654  0
evdev                   9114  7
battery                 9884  0
ac                      3171  0
wmi                     6275  0
button                  4922  0
sg                     25890  0

[/LIST][/INDENT][/CODE][/CODE][/CODE

Last edited by EldonCool; 12-07-2010 at 10:53 AM.
 
Old 12-07-2010, 11:42 AM   #30
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Please, post the output from

Code:
# modinfo broadcom

# modinfo tg3

# rmmod tg3
# modprobe broadcom
# modprobe tg3

$ dmesg
In this order, please.
 
  


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
Network card problems in Slackware 12.1 Aled Evans Slackware - Installation 7 07-19-2008 10:29 AM
Problems setting up network with slackware 10 Cocheese1080 Linux - Newbie 1 04-01-2006 10:11 PM
Problems in Slackware w/ Network after Compiling Kernel 2.6.9 wasafiri Linux - Networking 6 12-08-2004 09:22 PM
Mouse and network problems on Slackware 10.0 with kernel 2.6.7 gyodai Slackware 2 08-13-2004 05:39 PM
Slackware 9 Network Problems wocdam Linux - Networking 6 06-12-2003 12:51 AM

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

All times are GMT -5. The time now is 03:14 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