I have recently installed slackware 12 on my laptop after having it run gentoo for a year or two. I want it to be able to use wireless connections when I'm away from a cable.
I downloaded the firmware for ipw2100 and the card is detected. I edit rc.inet1.conf for eth1 to use dhcp (eth0 is my working wired connection):
Code:
# 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]="yes"
DHCP_HOSTNAME[1]=""
I edit rc.wireless.conf:
Code:
VERBOSE=1
case "$HWADDR" in
# Generic example (decribe all possible settings)
*)
INFO="essid name"
# ESSID (extended network name) : My Network, any
ESSID="some_name"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE=""
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL=""
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M
RATE=""
# Encryption key : 4567-89AB-CD, s:password
KEY="xxxx-xxxx-xx"
# RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
;;
esac
And I make rc.wireless executable. I bring down eth0 (/etc/rc.d/rc.inet1 eth0_stop) and bring up eth1 (/etc/rc.d/rc.inet1 eth1_start). It picks up the essid and receives an ip adress:
Code:
/etc/rc.d/rc.inet1: eth1 information: 'essid name'
Polling for DHCP server on interface eth1:
dhcpcd: MAC address = 00:04:23:5f:9c:4c
dhcpcd: your IP address = 192.168.2.100
iwconfig and ifconfig give good results I think:
Code:
eth1 IEEE 802.11b ESSID:"SMC" Nickname:"mirage"
Mode:Managed Frequency:2.437 GHz Access Point: 00:04:E2:A8:48:7F
Bit Rate=11 Mb/s Tx-Power:16 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xx Security mode:restricted
Power Management:off
Link Quality=94/100 Signal level=-64 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:34 Missed beacon:0
and
Code:
eth1 Link encap:Ethernet HWaddr 00:04:23:5F:9C:4C
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:fe5f:9c4c/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1136 errors:34 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:288226 (281.4 KiB) TX bytes:2434 (2.3 KiB)
Interrupt:6 Base address:0xc000 Memory:d0009000-d0009fff
Thats where the fun ends, I can ping or traceroute nothing (also by ip), even the router is mute. Route shows a good routing table, except that it takes a long time and does not show the name for my default route but the ip adress (I guess it hangs there because domain name resolution doesn't work). I do get a dns server and all other dhcp goodness:
Code:
root@mirage:~# cat /etc/dhcpc/dhcpcd-eth1.info
IPADDR=192.168.2.100
NETMASK=255.255.255.0
NETWORK=192.168.2.0
BROADCAST=192.168.2.255
GATEWAY=192.168.2.1
DNS=192.168.2.1
DHCPSID=192.168.2.1
DHCPGIADDR=0.0.0.0
DHCPSIADDR=192.168.2.1
DHCPCHADDR=00:04:23:5F:9C:4C
DHCPSHADDR=00:04:E2:A8:38:9E
DHCPSNAME=''
LEASETIME=604800
RENEWALTIME=302400
REBINDTIME=529200
INTERFACE='eth1'
CLASSID='Linux 2.6.21.5 i686'
CLIENTID=00:04:23:5F:9C:4C
At the moment, i have no clue where to look for the cause of this or any solutions. Any thoughts are welcome. I can test the interface on a wpa secured network later on, but I'm not hopeful since wep is already proving to be a problem. I have no access to unsecured networks.