LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 07-11-2005, 03:50 PM   #1
Zyk
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 192.168.1.1, 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:

Quote:
DEVICE="ath0"
IPADDR="192.168.1.20"
NETMASK="255.255.255.0"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"
ESSID="wertznet"
CHANNEL="10"

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 04:14 PM.
 
Old 07-11-2005, 05:13 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 121Reputation: 121
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:08 PM
Setting up router (Linksys WRT54G v5) to connect to internet (SUSE 9.3) Jongi Linux - Networking 2 11-15-2005 01:33 PM
WRT54G linksys router reefa Linux - Networking 2 03-16-2005 03:56 PM
Linksys wrt54g Drake Connect after every reboot penguinfred Linux - Networking 2 01-09-2005 09:57 AM
Linksys wireless-g router (WRT54G V2) help R4ndy Linux - Wireless Networking 2 10-28-2004 08:54 PM


All times are GMT -5. The time now is 07:47 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration