LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-14-2008, 12:45 PM   #1
bobaye
Member
 
Registered: Dec 2006
Location: Riverside CA
Distribution: Slackware first, then everything else
Posts: 48

Rep: Reputation: 15
I've nixed my nic's


I'm (kind of) running slack 12.0 on a HP ze2000 laptop.
It has an Airlink 101 wireless card along with the typical
Realtech 8139 ethernet cat 5.
The ethernet worked, the wireless didn't. So I attempted to fix the wireless issue..............
After much reading and running a Ubuntu 7.10 Gutsy live CD to confirm all the hardware worked (it did)............I tried to install the RC scripts offered by Alien Bob.
I had at this point determined the wireless card to be a Ralink chipset needing the rt2500/rt61 driver.
The Ralink driver was not loaded before trying to set up the scripts.
The long and short of this is - I have no LAN at all at the moment on that system.
I would like to do as much of this myself as I can in the name of learning, but I'm stuck.
What (I think) I would like to do at this point is reload the base internet drivers for the cat 5 LAN so I at least have some connection.
I'm really not sure how to do that, even though I have the install disks.
Here is some relevant output of lspci -
PHP Code:
05:00.0 Ethernet controllerRealtek Semiconductor Co., LtdRTL-8139/8139C/8139C+ (rev 10)
        
SubsystemHewlett-Packard Company Unknown device 3091
        Flags
bus mastermedium devsellatency 64IRQ 19
        I
/O ports at a000 [size=256]
        
Memory at c0206000 (32-bitnon-prefetchable) [size=256]
        
Capabilities: [50Power Management version 2

05
:09.0 CardBus bridgeTexas Instruments PCIxx21/x515 Cardbus Controller
        Subsystem
Hewlett-Packard Company Unknown device 3091
        Flags
bus mastermedium devsellatency 168IRQ 16
        Memory at c0207000 
(32-bitnon-prefetchable) [size=4K]
        
Busprimary=05secondary=06subordinate=09sec-latency=176
        Memory window 0
50000000-53fff000 (prefetchable)
        
Memory window 154000000-57fff000
        I
/O window 00000a400-0000a4ff
        I
/O window 10000a800-0000a8ff
        16
-bit legacy interface ports at 0001

06
:00.0 Network controllerRaLink RT2561/RT61 802.11g PCI
        Subsystem
Unknown device 17f9:0012
        Flags
slow devselIRQ 16
        Memory at 54000000 
(32-bitnon-prefetchable) [disabled] [size=32K]
        
Capabilities: [40Power Management version 2 
And rc.inet1 -
PHP Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

#SCRIPT[0]="/etc/rc.d/ifcfg/ifplugd.sh"

#SCRIPT[1]="/etc/rc.d/ifcfg/ifmetric.sh"

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

# 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=""

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0.  Uncomment the lines you need and fill
## in your info.  (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="xxxxxxx-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=xxxxxxR05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="XXXXXXXXXXXXXXXXXX"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7"some kind of hardware address TxRate=0"
#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"              # Use a different interface name nstead of
                                # the default 'eth4'
#HWADDR[4]="XX:XX:XX:XX:XX:XX:"  # Overrule the card's hardware MAC address
#MTU[4]=""                      # The default MTU is 1500, but you might need
                                # 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes"       # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes"          # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes"           # If you don't want the DHCP server to change
                                # your default gateway
#DHCP_IPADDR[4]=""              # Request a specific IP address from the DHCP
                                # server
#WLAN_ESSID[4]=DARKSTAR         # Here, you can override _any_ parameter
                                # defined in rc.wireless.conf, by prepending
                                # 'WLAN_' to the parameter's name. Useful for
                                # those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=something TxRate=0"
                                # Some drivers require a private ioctl to be
                                # set through the iwpriv command. If more than
                                # one is required, you can place them in the
                                # IWPRIV parameter (space-separated, see the
                                # example). 
I don't know if any of that will be any help for troubleshooting, but there it is.........
Any ideas?

Last edited by bobaye; 02-14-2008 at 03:43 PM.
 
Old 02-14-2008, 01:26 PM   #2
bobaye
Member
 
Registered: Dec 2006
Location: Riverside CA
Distribution: Slackware first, then everything else
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, I still don't why this worked - but after using installpkg to re-install everything in the "n" package series that looked important, and re-running "netconfig" without success..........................
I rebooted and ran "sh /etc/rc.d/rc.inet1" as root, and it's now back up.
That and the cat switched over to sit on my right knee, so maybe it was the cat?
Um......Don't ya'll go away though, I'm sure I'll have more questions.
Thanx to all who looked in at least.
~Bob~

Last edited by bobaye; 02-14-2008 at 01:29 PM. Reason: spell'n
 
Old 02-14-2008, 02:09 PM   #3
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Rep: Reputation: 99
Exclamation don't give out your personal information

Hey bobaye,
It's not on-topic, but for the sake of your security, you might want to clear or change all the values in certain variables. For example:
PHP Code:
HWaddr 
Please, read this tutorial:
http://www.linuxquestions.org/linux/..._and_be_secure

P.S.
I reported your post to moderators so that either you, or they could hide the information whoever reads the warning first.

Last edited by kuser:); 02-14-2008 at 06:30 PM.
 
Old 02-14-2008, 03:36 PM   #4
bobaye
Member
 
Registered: Dec 2006
Location: Riverside CA
Distribution: Slackware first, then everything else
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks Kuser:-) I'll look into it now.
 
  


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
two NIC's one IP mijohnst Linux - Networking 4 06-12-2007 11:08 AM
LXer: The "Nixed Report" Vista Challenge LXer Syndicated Linux News 5 04-05-2007 07:00 AM
Two NIC's Meatball1337 Linux - Hardware 4 11-10-2004 09:14 PM
TWO NIC's bhughesiii Linux - Networking 8 09-23-2004 09:48 AM
2 NIC's plisken Linux - Networking 1 04-19-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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