[lwlan-user] redhat 9 and netgear MA401
Andy Osborne
linux-wlan-user@lists.linux-wlan.com
Wed, 2 Jul 2003 15:45:27 +0100 (BST)
On Wed, 2 Jul 2003, Laura77 wrote:
>
> /etc/sysconfig/network-scripts/ifcgf-wlan0
should be /etc/sysconfig/network-scripts/ifcfg-wlan0
>
> This is the current file:
>
> DEVICE=wlan0
> ONBOOT=yes
> NAME=wlan0
> BOOTPROTO=static # change this to static to specify an IP
> addr
> IPADDR=192.168.1.2
> GATEWAY=192.168.1.254
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
should be NETWORK=192.168.1.0
> BROADCAST=192.168.0.255
should be BROADCAST=192.168.1.255
> GATEWAYDEV=wlan0 # this is for setting default route
> TYPE=Ethernet
> USERCTL=yes
> PEERDNS=no # this lets DHCP define the DNS setup
>
>
>
> - When I try "ping 192.168.1.2" I receive "Network unreachable"
>
>
> I belive it is a problem of network configuaration.
>
You can also issue the command (as root)
ifconfig wlan0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
then
route add -net default gw 192.168.1.254
this will manually set up the adaptor.
Andy