[olug] Re: Wireless Help
Joe Catanzaro
joecatanzaro at cox.net
Wed Oct 22 05:12:14 UTC 2003
Sam, thanks for the response, but both of those are set correctly. After
much research I'm still at a standstill. It appears I'm still struggling
with routing. Again, I'm trying to get a windows laptop to talk to a RH 7.3
box, and then to the rest of my network. The wireless stuff is working
great. I can ping the RH wi-fi interface (10.0.1.1) from the laptop and I
can also ping the wired interface (10.0.0.5) from the laptop, but nothing
beyond that. So, I'm assuming I have a routing issue on the RH box. I'm
missing something obvious, but I don't know what. Here are the details. Any
ideas? Thanks,
www --- Firewall --- RH 7.3 box ~~~ Win 98 laptop
10.0.0.1 10.0.0.5 10.0.1.1 10.0.1.38
[root at scooter network-scripts]# more ifcfg-wlan0
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.0.1.1
BROADCAST=10.0.1.255
NETMASK=255.255.255.0
GATEWAY=10.0.0.5
NETWORK=10.0.1.0
[root at scooter network-scripts]# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.0.0.255
IPADDR=10.0.0.5
NETMASK=255.255.255.0
NETWORK=10.0.0.0
ONBOOT=yes
GATEWAY=10.0.0.1
[root at scooter network-scripts]# more ../network
NETWORKING=yes
HOSTNAME=scooter
[root at scooter network-scripts]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
[root at scooter network-scripts]# cat /proc/sys/net/ipv4/ip_forward
1
[root at scooter network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:97:23:F9:24
inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5098 errors:0 dropped:0 overruns:0 frame:0
TX packets:2861 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:569507 (556.1 Kb) TX bytes:316540 (309.1 Kb)
Interrupt:15 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:296 (296.0 b) TX bytes:296 (296.0 b)
wlan0 Link encap:Ethernet HWaddr 00:0D:88:8B:68:87
inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2108 (2.0 Kb) TX bytes:70662 (69.0 Kb)
Interrupt:11 Base address:0x5040
Windows Laptop
IP Address 10.0.1.38
Gateway 10.0.1.1
Subnet Mask 255.255.255.0
At 10/21/2003 08:25 AM Tuesday, you wrote:
> From the sounds of it you are either missing the default route in the laptop.
> 'route add default gw IP_OF_DESKTOP'
>
>Or you don't have ip forwarding turned on on the desktop (which lets it
>forward traffic for another machine.)
>
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
>Joe Catanzaro wrote:
>>Thanks for the response. Actually what I'm doing is setting up a RH 7.3
>>desktop to act as the access point to talk to a laptop. At this point I
>>can ping it fine from the laptop and I can ping the wired interface on
>>the same RH 7.3 box, but I can't ping anything else in my network. I
>>usually have this problem when I'm building a firewall and there's
>>usually one thing I need to add like a default route or something is
>>wrong with my gateway settings. So, I'm researching on line and in some
>>books to see what the problem is. Any ideas?
>>Thanks,
>>
>>At 10/20/2003 07:27 PM Monday, Jaymz Ringler wrote:
>>
>>>Are you trying to connect the two laptops together via wireless cards?
>>>no access point?
>>>
>>>I run RedHat9 with an Dell TrueMobile (orinoco silver) card. I have a
>>>linksys access point connected to my lan.
>>>
>>>my wireless setup is such:
>>>
>>>adhoc mode, specified my SID, channel is set as such for the access
>>>point, and speed is set to auto, and my wep key is set....
>>>
>>>ip scheme is the same as my wired network. Default gateway for the
>>>wireless settings is the inside of my firewall appliance. and of
>>>course the same subnet.
>>>
>>>There really isn't anything else to do... make sure the wireless
>>>connection is using the correct ethernet device (eht0 or eth1).
>>>
>>>if you have any problems after that, maybe check iptables/chains..
>>>
>>>-----Original Message-----
>>>From: Jordan Wilberding <diginux at diginux.net>
>>>To: Omaha Linux User Group <olug at olug.org>
>>>Date: 20 Oct 2003 18:24:38 -0500
>>>Subject: Re: [olug] Wireless Help
>>
>>Joe Catanzaro
>>joecatanzaro at cox.net
>>_______________________________________________
>>OLUG mailing list
>>OLUG at olug.org
>>http://lists.olug.org/mailman/listinfo/olug
>
>
>--
>------------------------------------------------------------------------
>Sam Tetherow tetherow at nicusa.com
>Director of Development
>NIC Labs (PSSG) http://www.nicusa.com
>
>_______________________________________________
>OLUG mailing list
>OLUG at olug.org
>http://lists.olug.org/mailman/listinfo/olug
Joe Catanzaro
joecatanzaro at cox.net
More information about the OLUG
mailing list