LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2007, 06:46 AM   #1
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Rep: Reputation: 16
Wireless (ipw2100) connects and receives ip from dhcp but no communication


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.
 
Old 08-16-2007, 08:25 AM   #2
nightshade_1977
Member
 
Registered: Nov 2006
Location: Clarksville, VA
Distribution: Linux Mint, Ubuntu Server
Posts: 114

Rep: Reputation: 15
just wondering are you using the BCM43xx driver?
I was having the same issue with Dell Truemobile 1450 and have yet to figure it out
but I have got it to work using ndiswrapper
 
Old 08-16-2007, 10:53 AM   #3
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Original Poster
Rep: Reputation: 16
I am using the ipw2100 driver provided by the kernel for an 11mbit intel centrino wireless card. The card used to work with wep and wpa previously, also using the driver provided by the kernel.
 
Old 08-16-2007, 12:49 PM   #4
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
Quote:
Originally Posted by cor67393 View Post
I am using the ipw2100 driver provided by the kernel for an 11mbit intel centrino wireless card. The card used to work with wep and wpa previously, also using the driver provided by the kernel.
Hi,

What is the output of the 'route -n' command. Post it so we can see it.
 
  


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
kinternet connects, gets a dhcp address, but no gateway or dns joncolby Linux - Wireless Networking 0 09-16-2005 09:02 AM
FreeBSD installer connects to DHCP server but not Internet cspos *BSD 5 05-30-2005 01:22 PM
configuring wireless IPW2100 sjefke37 Linux - Hardware 4 12-27-2004 02:41 PM
DHCP overcomes my communication problems rickthemick Linux - Networking 3 11-01-2004 08:27 AM
My laptop receives an IP via DHCP, but can't ping router or outside IP's! Max P0wer Linux - Networking 12 08-17-2004 05:45 PM

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

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