LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-08-2010, 01:58 PM   #1
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
Network issues. No rc.netdevice. No RX or TX Packets.


Hi guys, I created a similar thread last week in the networking section but only got one response. I was hoping to get a little more help here as this forum helped me tremendously to partition my hard drive safely. That was over a week ago, and ever since then I have been struggling with setting up my network. Here is what I have done.

Basic set up with netconfig. I selected DHCP and followed the directions on the screen.

ifconfig -a shows eth0 with no RX or TX packets at all, but at least it showed me information. If it was not detecting my card (which is compatible with linux), it would have said no device found. correct?

dhclient eth0 just hangs there for half a minute until I can add a command again.

dhcpcd eth0 times out.

I read (in slackbook chaper 5.2.1) that the correct kernel module may not be loaded. So I opened rc.modules with pico and went to the netdevice section. In slackbook it said to find my device and uncomment it.... but I cant find it! (I have an atheros ar9285 in my stock compaq CQ61 laptop) I also opened rc.netdevice and it was empty..

It seems like the more I learn about the network, the more lost I get. I keep hearing that configuring a network on slackware is easy, am I just missing some simple step?

Also, whenever I startx, akonadi gives me an error. I also get another error saying that it could not parse XMS file. Is that just due to my lack of an internet connection at the moment?
 
Old 08-08-2010, 02:32 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What version of slackware? Did you edit /etc/rc.d/rc.inet1.conf? If so, what changes did you make? Are you attempting a wired ethernet connection or a wireless one?
 
Old 08-08-2010, 03:14 PM   #3
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
The version I have is 13.1 and I am trying to get a wireless connection. I dont think I edited /etc/rc.d/rc.init1.conf either. I just tried to open it with pico and it shows nothing inside.
 
Old 08-08-2010, 03:32 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by AceOfSpade View Post
I dont think I edited /etc/rc.d/rc.init1.conf either. I just tried to open it with pico and it shows nothing inside.
Well, that would be /etc/rc.d/rc.inet1.conf.

What does /etc/udev/rules.d/70-persistent-net.rules contain? It probably contains at least one line identifying your wireless card, which is probably named wlan0 or some such. Certainly not eth0. (edit: 70-persistent-net.rules should contain a line identifying your ethernet card, which is probably eth0. I meant to say that "eth0" is probably not your wireless card's name.)

Last edited by Richard Cranium; 08-08-2010 at 03:34 PM.
 
Old 08-08-2010, 04:08 PM   #5
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Oh! Ok, sorry about that. Yes I did edit /etc/rc.d/rc.inet1.conf! Under eth0 I set USE_DHCP[0]="yes" and I set DHCP_HOSTNAME[0]="SLACKWARE". I didnt give any information for eth1, eth2 or eth3, but I did set my default gateway. Down farther it has an example configuration for wlan0. Should I just uncomment them? Here is what it looks like:

#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless" (I could change this to whatever I wanted, correct?)
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"

/etc/udev/rules.d/70-persistent-net.rules shows:

# PCI device 0x10ec :0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8 :0a :a9 :48 :7e :$

# PCI device 0x168c :0x002b (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4 :17 :fe :bb :87 :$
 
Old 08-08-2010, 06:04 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by AceOfSpade View Post
Oh! Ok, sorry about that. Yes I did edit /etc/rc.d/rc.inet1.conf! Under eth0 I set USE_DHCP[0]="yes" and I set DHCP_HOSTNAME[0]="SLACKWARE". I didnt give any information for eth1, eth2 or eth3, but I did set my default gateway. Down farther it has an example configuration for wlan0. Should I just uncomment them? Here is what it looks like:

#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless" (I could change this to whatever I wanted, correct?)
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"

/etc/udev/rules.d/70-persistent-net.rules shows:

# PCI device 0x10ec :0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8 :0a :a9 :48 :7e :$

# PCI device 0x168c :0x002b (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4 :17 :fe :bb :87 :$
Umm, you cut off an important part of your 70-persistent-net.rules file when you pasted. At least we can see that your machine recognizes the wireless card (I think the ath9k is the one in question). There's a NAME="something" part that you didn't paste. I'm going to assume that it is "wlan0".

I can lead you through this, but I'd be regurgitating what Alien Bob has already written.

If this is a notebook and you intend to connect to other wireless networks as needed, you should consider installing wicd (it's part of extras on the Slackware DVD/CDs) and allowing it to manage your wireless/wired connections. (It's more flexible than managing rc.inet1.conf and /etc/wpa_supplicant.conf changes, IMO.)
 
Old 08-08-2010, 06:38 PM   #7
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Yes it is called wlan0. And how would I install wicd? I am totally new with slack if you couldn't tell..
 
Old 08-08-2010, 07:00 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
It's in the extra directory of the slackware CD/DVD. You'd use the installpkg command as root to install it. Or you can get it from the web here or here. If you get it from the web, you'll still have to run installpkg as root to install it.
 
Old 08-08-2010, 07:07 PM   #9
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
ok, would it be wise to set up my internet by editing /etc/rc.d/rc.inet1.conf first?
 
Old 08-08-2010, 07:21 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Configuring your network in Slackware should be able to help you to configure the network for the machine.

 
Old 08-08-2010, 07:47 PM   #11
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks for the link guys! Would I be able to set it up with wicd instead? Also, what version of wicd comes with the extras in lack 13.1? I would have to use installpkg wicd (version) right?




Edit: Ok I think I have failed as a slacker, I have followed the instructions on Alien Bob's wiki and I STILL do not have a working internet connection... I fear that I have edited something incorrectly and will never get it working.

Last edited by AceOfSpade; 08-08-2010 at 07:55 PM.
 
Old 08-08-2010, 08:42 PM   #12
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by AceOfSpade View Post
Edit: Ok I think I have failed as a slacker, I have followed the instructions on Alien Bob's wiki and I STILL do not have a working internet connection... I fear that I have edited something incorrectly and will never get it working.
Wireless is aways a bit of PITA to set up the first time.

What did you do and what did you see when you tried to get things to work? (When you post your config files, make sure that you remove any ESSIDs and passwords/passphrases from them.)
 
Old 08-08-2010, 10:03 PM   #13
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Well, after reading through Alien Bob's wiki, I decided to use /etc/rc.d/rc.inet1.conf because it can be used as the sole configuration file for all network parameters. After some tinkering today (and its possible I might have messed something up before by trying to configure this without any help) this is what I have (minus the explanation at the top):

Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="SLACKWARE"

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="my gateway, changed for security"

DEBUG_ETH_UP="no"

IFNAME[4]="ath0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="Slackware"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=MY SSID
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto
WLAN_KEY[4]="mykey"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set
#WPAPSK=really long string of numbers"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"

#HWADDER[4]="Unchanged set of numbers"
#MTU[4]=""

#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"

#DHCP_IPADDR[4]=""

#WLAN_ESSID[4]=DARKSTAR




#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
I suspect it may have something to do with how I have things commented/uncommented, yet am not sure.
 
Old 08-08-2010, 10:20 PM   #14
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by AceOfSpade View Post
Well, after reading through Alien Bob's wiki, I decided to use /etc/rc.d/rc.inet1.conf because it can be used as the sole configuration file for all network parameters. After some tinkering today (and its possible I might have messed something up before by trying to configure this without any help) this is what I have (minus the explanation at the top):

Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="SLACKWARE"

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="my gateway, changed for security"

DEBUG_ETH_UP="no"

IFNAME[4]="ath0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="Slackware"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=MY SSID
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto
WLAN_KEY[4]="mykey"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set
#WPAPSK=really long string of numbers"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"

#HWADDER[4]="Unchanged set of numbers"
#MTU[4]=""

#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"

#DHCP_IPADDR[4]=""

#WLAN_ESSID[4]=DARKSTAR




#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
I suspect it may have something to do with how I have things commented/uncommented, yet am not sure.
So what does your 70-persistent-net.rules file give as the wireless device's name?

Does your access point have encryption turned on? You'd have to look at its configuration to figure that out.
 
Old 08-08-2010, 10:56 PM   #15
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
My 70-persistent-net.rules shows the first device (named in my reply above) as eth0 and the second (within that same post, right below the other one) is named wlan0. As for encyption, my router says my wifi protected setup is enabled/configured and it has a WEP security mode. (I hope that is was you were asking for.)
 
  


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
iptables/libipq questions: buffering issues when copying packets to user space beatdream Linux - Networking 2 04-14-2010 10:05 AM
rc.netdevice not list, how is my network card working? estex198 Slackware 2 11-30-2009 08:13 AM
Virtual Netdevice rajaashok Linux - Networking 0 10-16-2007 01:47 AM
rc.netdevice missing bato Slackware 4 08-05-2006 09:00 AM
adm8211 unregister netdevice zzpaf Linux - Wireless Networking 6 08-16-2004 07:03 PM

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

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