PDA

View Full Version : Wifi Connection not establishing



Exit
03-17-2004, 10:55 PM
I'm fairly new to Linux so pardon anything seemingly simple to you that I have overlooked.

I have a Windows XP home network set up on another computer and am trying to get the internet connection in Knoppix Live.

So far, as root I have tried :

if config eth0 192.168.0.200 netmask 255.255.255.0 up
route add default gw 192.168.0.1 eth0
echo nameserver 192.168.0.1 >> /etc/resolv.conf

After doing this I can see by my wifi card that part of the connection is established (it stops blinking).
I can also ping 192.168.0.200 to receive:
64 bytes from 192.168.0.200 icmp_seq=* ttl=64 time=0.1ms

However, I am unable to resolve any connections with websites.

Any help is appreciated.
Respectfully,
Exit[/u]

Exit
03-18-2004, 06:07 PM
I have also tried netcardconfig ending in the following:

ip address for eth0 192.168.0.2
network mask 255.255.255.0
broadcast address 192.168.0.2 (I'm not sure about this one)
default gateway 192.168.0.1
nameserver(s) 192.168.0.1 (I was iffy on this one also)

ESSID 802.11b
NWID (cell identifier) null
mode Managed
channel number null
frequency null
encryption key ******************
additional parameters --null for all

I have also tried "pump -i eth0" which ended in "operation failed"

My card is being detected (after looking at lspci -v)

There is a good chance that I have inputted something wrong, if not since I am using PCI, the Windows update issue might be what is hindering me.

Any ideas?
Respectfully,
Exit

Stephen
03-18-2004, 10:15 PM
broadcast address 192.168.0.2 should be 192.168.0.255 and the nameserver should be the DNS or Domain Name Server settings that you get from your ISP. Also the network setting it asks for in the netcardconfig would be 192.168.0.0.

Exit
03-18-2004, 11:20 PM
Thank you.

As for entering "192.168.0.0", can you be a little more specific, in regards to what location (after what prompt), than "the network setting"?

Respectfully,
Exit

Stephen
03-18-2004, 11:43 PM
Thank you.

As for entering "192.168.0.0", can you be a little more specific, in regards to what location (after what prompt), than "the network setting"?

Respectfully,
Exit


The settings eventually end up in the file /etc/network/interfaces when the netcardconfig runs if it asks for a network setting then that would be the number you would have to use an example of the file below and now that I look at my file the network setting is optional so the netcard may not ask for it if that is the case then ignore my suggestion of the setting.



HappyTux:/home/stephen# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0



iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254

Exit
03-19-2004, 12:24 AM
root@ttyp0[knoppix]# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback


iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


I know my gateway is at 192.168.0.1, but I tried using the same entry that you had just in case.
No preferable results yet.

Respectfully,
Exit

Stephen
03-19-2004, 02:22 AM
root@ttyp0[knoppix]#

iface eth0 inet static
address 192.168.0.1
gateway 192.168.0.1




Your IP cannot be the same as your gateway you need to use something like 192.168.0.2 or 3 ... a number on the end that is not in use in your internal network. While I am noticing here does not XP use its own DHCP server to give out IPs?

Exit
03-19-2004, 04:41 AM
First post from Knoppix :D

Edit: Wow download speed went up 300kbps

The ip address was a typo, I meant to write 192.168.0.2.

Your help is much appreciated, the only problem that remains is the ESSID. Using "802.11b"
seems to not be correct (I had to leave it blank to get a connection.)

Again I thank you for your helpfulness.

Respectfully,
Exit

icoczar
03-19-2004, 11:03 PM
If you never set up a sepcific SSID, "default" worked for me.