Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 07-11-2005, 04:50 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Non-DHCP connect on a Linksys WRT54G router

I'm having a problem connecting through a Linksys WRT54G router. My system can successfully ping the router at, and I can access the setup, but I can't access anything outside of it.

I'm running Slackware and use a shell script called rc.DWL in /etc/rc.d to specify wireless connection settings. The main part of the file looks like this:


startDevice() {
echo -n "Bringing up $DEVICE..."
echo "Done."
/sbin/iwconfig $DEVICE channel $CHANNEL
/sbin/iwconfig $DEVICE essid $ESSID
/sbin/ifconfig $DEVICE $IPADDR broadcast $BROADCAST netmask $NETMASK
sleep 1
/sbin/route add default gw $GATEWAY
I've been using this script for a long time, and simply manually change the settings when I must connect to a new network.

The settings currently entered seem to put me on the network. My card blinks as if it is connected, and any other settings bring up a "Network unavailable" message. I can ping the router and other computers on the network. ifconfig displays the router's correct mac address, and everything looks to be right.

On the router, all security is currently disabled. When I view the Wireless Client MAC list, my computer's MAC address is displayed along with the others that are connected, but the "Client Name" and "IP Address" fields are blank for my computer. What I think is the problem (though I'm not positive) is that the router isn't letting my computer establish it's own IP address. However, I've continually gone through every section of the router's settings, and can't find any option that relates to this.

Any suggestions or ideas?

Last edited by Zyk; 07-11-2005 at 05:14 PM.
Old 07-11-2005, 06:13 PM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Is this router new? If so, have you setup the client IP addresses under Access Restrictions?
Status > Enable > PCs: Allow > and Enter the IP Address of the PCs.

I have the same router and could ask a lot of questions, but it's obviously the WAN side and not the LAN side. Also check under Status the output for Router, Local Network, and Wireless.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux can't connect to internet with DHCP through Linksys wired router ruslan40321 Linux - Networking 9 03-30-2008 03:08 PM
Setting up router (Linksys WRT54G v5) to connect to internet (SUSE 9.3) Jongi Linux - Networking 2 11-15-2005 02:33 PM
WRT54G linksys router reefa Linux - Networking 2 03-16-2005 04:56 PM
Linksys wrt54g Drake Connect after every reboot penguinfred Linux - Networking 2 01-09-2005 10:57 AM
Linksys wireless-g router (WRT54G V2) help R4ndy Linux - Wireless Networking 2 10-28-2004 09:54 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration