LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2006, 12:07 PM   #1
zeos386sx
Member
 
Registered: Oct 2004
Location: waco, tx
Distribution: Fedora
Posts: 48

Rep: Reputation: 15
no dhcp through wlan0


I have a wireless card setup in my router and i have got it working as an ap, but it won't hand out ip addresses over the wireless connection. also if I manually set the ip (192.168.2.X) I can ping the wireless card (192.168.2.1) and the wired nic(192.168.1.1) but I can't bring up any web pages. since this seems to me to be an issue with routing and dnsmasq, and not setting up the wireless card i'm posting in the main networking forum. i also have another thread going on the clarkconnect forums

here are some highlights for anyone gracious enough to help.

Code:
[root@rooter ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:29:9B:19:18
          inet addr:24.162.122.233  Bcast:255.255.255.255  Mask:255.255.248.0
          inet6 addr: fe80::2e0:29ff:fe9b:1918/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1206543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123463 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:166956174 (159.2 MiB)  TX bytes:9384530 (8.9 MiB)
          Interrupt:10 Base address:0x9000

eth1      Link encap:Ethernet  HWaddr 00:A0:CC:D3:55:4D
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2a0:ccff:fed3:554d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:130009 errors:1 dropped:0 overruns:0 frame:0
          TX packets:142077 errors:3 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:1000
          RX bytes:10181804 (9.7 MiB)  TX bytes:103499996 (98.7 MiB)
          Interrupt:12 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:407 errors:0 dropped:0 overruns:0 frame:0
          TX packets:407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:51010 (49.8 KiB)  TX bytes:51010 (49.8 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-09-5B-2F-23-06-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1098 errors:0 dropped:0 overruns:0 frame:0
          TX packets:644 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:136031 (132.8 KiB)  TX bytes:129504 (126.4 KiB)
          Interrupt:5 Memory:e4850000-e4851000

wlan0     Link encap:Ethernet  HWaddr 00:09:5B:2F:23:06
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::209:5bff:fe2f:2306/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:585 errors:0 dropped:254 overruns:0 frame:0
          TX packets:632 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:115132 (112.4 KiB)  TX bytes:129154 (126.1 KiB)
          Interrupt:5 Memory:e4850000-e4851000

[root@rooter ~]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wifi0 recommend version 18 of Wireless Extension,
but has been compiled with version 16, therefore some driver features
may not be available...

wifi0     IEEE 802.11b  ESSID:"Rats-Nest"  Nickname:"rooter.ratsnest.lan"
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:09:5B:2F:23:06
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:10  Invalid misc:23   Missed beacon:0

wlan0     IEEE 802.11b  ESSID:"Rats-Nest"  Nickname:"rooter.ratsnest.lan"
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:09:5B:2F:23:06
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:10  Invalid misc:23   Missed beacon:0

sit0      no wireless extensions.

[root@rooter ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
24.162.120.0    0.0.0.0         255.255.248.0   U     0      0        0 eth0
0.0.0.0         24.162.120.1    0.0.0.0         UG    0      0        0 eth0
dnsmasq.conf
Code:
dhcp-authoritative
domain-needed
bogus-priv
filterwin2k
expand-hosts
domain=ratsnest.lan
interface=eth1
interface=wlan0
bind-interfaces
conf-file=/etc/dnsmasq/dhcp.conf
/etc/dnsmasq/dhcp.conf
Code:
read-ethers
dhcp-option=eth1,6,192.168.1.1
dhcp-option=eth1,1,255.255.255.0
dhcp-option=eth1,3,192.168.1.1
dhcp-option=eth1,28,192.168.1.255
dhcp-option=wlan0,1,255.255.255.0
dhcp-option=wlan0,3,192.168.2.1
dhcp-option=wlan0,6,192.168.2.1
dhcp-option=wlan0,28,192.168.2.255
dhcp-range=eth1,192.168.1.100,192.168.1.254,12h
dhcp-range=wlan0,192.168.2.100,192.168.2.254,12h
 
Old 09-28-2006, 11:29 AM   #2
zeos386sx
Member
 
Registered: Oct 2004
Location: waco, tx
Distribution: Fedora
Posts: 48

Original Poster
Rep: Reputation: 15
can't anyone help?
 
  


Reply

Tags
dhcp, dnsmasq, routing



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
Wlan0 is DHCP, eth1 fixed IP SteveT Linux - Networking 0 05-14-2006 02:36 PM
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM
No Dhcp Ip For Wlan0,suse9.1, After Online Update frenchrh Linux - Wireless Networking 0 07-07-2004 08:13 AM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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