I've succesfully set up a Wireless home network using Belkin hardware. The network is functional on a Windows machine (the machine I'm posting this from) but the Linux box up the stairs is not as functional.
I'm using ndiswrapper to control the wireless adapter pci card. The card can see the network and can be pinged from the Windows machine. The Linux machine cannot browser the web, receive emails or ping either the router or the Windows machine.
I'm guessing that I need to configure Linux to use this network connection but I'm not too sure how. Any help greatly appreciated.
Could you post the output of:
for your Linux machine.
lo Link encap: Local loopback
inet eddr: 127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric: 1
Rx packets: 60 errors: 0 dropped: 0 overruns: 0 frame: 0
Tx packets: 60 errors: 0 dropped: 0 overruns: 0 frame: 0
collisions: 0 txqueuelen: 0
Rx bytes: 4892(4.7kb) Tx bytes: 4892(4.7kb)
wlan0 Link encap: Ethernet HWaddr 00:11:50:8F:4B:6G
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
Rx Packets: 190 errors: 0 dropped: 0 overruns: 0 frame: 0
collisions: 0 txqueuelen: 1000
Rx bytes: 28508(27.8kb) Tx bytes: 0(0kb)
Interrupt: 3 Memory: feafe000 - feb00000
Kernel IP Routing Table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
first of all run the following as root.
check ifconfig to see if you have got an address.
if not first of all run as root the following
change ip address for the ip you want to give the system, and change subnet address for the subnet of the network.
ifconfig -a wlan0 ipaddress subnet address
replace ip of the router with the ip address that the router has
route add 0 ip of the router
to config dns run
yet again use the ip of your router
echo ip of router > /etc/resolv.conf
ifconfig route -n gives:
ifconfig -a gives:
bash: dhclient: Command not found.
SIOCSIFADDR: Invalid Argument