LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   I've nixed my nic's (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ive-nixed-my-nics-621129/)

bobaye 02-14-2008 12:45 PM

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?

bobaye 02-14-2008 01:26 PM

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? :scratch:
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~

kuser:) 02-14-2008 02:09 PM

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.

bobaye 02-14-2008 03:36 PM

Thanks Kuser:-) I'll look into it now.


All times are GMT -5. The time now is 06:18 AM.