GeeXboX

WiFi connection

December 20th, 2011 Leave a comment Go to comments

HomeForumsGeeXboX for PCWiFi connection

This topic has 4 voices, contains 13 replies, and was last updated by rubiki 3 hours ago.

Viewing 14 posts – 1 through 14 (of 14 total)
Author Posts
Author Posts
December 20, 2011 at 09:12 #2214

Koumi

Hi,

I Would love to connect to wifi network with my geexbox. The problem is that i dont know how. I’ve changed /etc/network to fits my needs, but it is not working. So i dropped to shell and tried ifconfig. It is working. Iwlist scanning finds all the networks and iwconfig can set the parameters. But what now? I set the AP, channel, ENC and all, but how do I connect? It does not start to comunicate with the router by itself. I guess I should execute something like dhclient wlan0 , but there is no dhclient…?

Thank you for all

December 20, 2011 at 10:01 #2215

tomlohave

If you see your network with iwlist, it’s good
Can you post the result of command line :
ifconfig

and the content of /etc/network (hide your password)

December 20, 2011 at 10:30 #2216

Koumi

Yes, ok..
I’m using the devel version right now with the cd/dvd.. Dmesg said, that wlan0 was renamed to rename3.. I dont know why, but its true. Ifconfig itself shows eth0 – ethernet, lo – loopback, and rename3 – wifi.. So…:

#ifconfig rename3
rename3 Link encap:Ethernet HWaddr 00:16:6F:AD:CA:71
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:23 Base addres:0xc000 Memory:bc008000-bc008fff

#vi /etc/network
ADDRESS=””
DNS_SERVER=””
FTP_SERVER=”true”
GATEWAY=””
HIDDEN=”false”
HTTP_SERVER=”true”
IFACE=”RENAME3″
NETWORK=”WLAN”
PASSPHRASE=”1856794230″
SAMBA_SERVER=”true”
SECURITY=”WEP”
SSID=”Tequila”
TELNET_SERVER=”true”
ZEROCONF=”true”

December 20, 2011 at 10:44 #2217

tomlohave

try this : edit /etc/network
modify IFACE by
IFACE=”00:16:6f:ad:ca:71″

secaurity ? wep or wpa ? if wpa modify
SECURITY=”PSK”

reboot (if you want settings to be permanent you need persistent data file, see documentation)

December 20, 2011 at 11:02 #2218

Koumi

Thank you, done, but no big change.
I have WEP and I have persistant data file.

The only change is that when I reboot now, iwconfig is set right.
So essid=Tequila, AP=00:1E:2A:6B:6E:42, enc-key=1856-7942-30, security mode=restricted, mode=managed, Freq=2.412GHz.
But Bitrate 0, Link quality 0, signal level 0 etc…

December 20, 2011 at 11:34 #2220

tomlohave

do you have a dhcp server ? what says ifconfig now ?
result of dmesg ?

December 20, 2011 at 17:06 #2227

Koumi

So I started the computer again now and it’s back to normal.. I mean /etc/network is still good (IFACE=”00:16:6f:ad:ca:71″) but iwconfig: AP Not Associated, channel 0, enc off. Ifconfig is still exactly the same. Dmesg as well.. ..the only information about wlan or rename3 is “udevd[240]: renamed network interface eth1 to rename3″
I guess the reason why it was better before is that i forced it with iwconfig parameters…
It seems like it does not read the /etc/network…?
And yes, i have a wireless switch/router with dhcp server and dns server..

December 21, 2011 at 07:47 #2243

tomlohave

post the content of dmesg please.

December 21, 2011 at 07:51 #2244

tomlohave

Does your mac adress for your wifi card is still the same between reboot ?

December 22, 2011 at 08:16 #2270

Koumi

Hi and sorry for the delay.
Yes, mac address is still the same between reboots.

And I guess you need just some part of dmesg. It’s like 40 screens all together. So something like:
dmesg | grep wlan
or something like that? or whole dmesg save to a file? but i dont know how to do this…?

December 22, 2011 at 08:56 #2271

tomlohave

all dmesg :
dmesg > /root/dmesg.txt
and post or send me the file dmesg.txt located in /root : [email protected]
Thanks

  • This reply was modified 18 days ago by tomlohave.
December 23, 2011 at 02:38 #2277

dbojan

here’s what I use on other distro:

#put up wifi card:
ifconfig wlan0 up
#iwlist wlan0 scan
iwconfig wlan0 essid apname key s:123456
#”dhclient wlan0″, instead we use:
/etc/init.d/network.sh restart

  • This reply was modified 18 days ago by dbojan.
  • This reply was modified 18 days ago by dbojan.
December 28, 2011 at 08:26 #2383

Koumi

It took a while, but dmesg is on the mail..

@dbojan: Looks great. This is what i need. But unfortunetely there is no such script or even this folder on my geexbox.. Thanx anyway

January 9, 2012 at 11:44 #2574

rubiki

trid wifi , failed.

iwlist wlan0 scan
with this connamd I can find my wifi ssid, it’s WPA2.
but can’t get ip. it’s DHCP enabled, and can use in Windows.

Viewing 14 posts – 1 through 14 (of 14 total)

You must be logged in to reply to this topic.