Forum
Recommend a wifi dongle for access point setup - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: Recommend a wifi dongle for access point setup (/thread-966.html)

Pages: 1 2 3 4


RE: Recommend a wifi dongle for access point setup - mk01 - 17th Nov, 2013 08:52 AM

and now

Code:
ifconfig wlan0 inet 192.168.10.1 255.255.255.0

will the address be set on wlan0 (shown in ifconfig)?


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 08:57 AM

i think i found a good method here, looks like it has recent activity...
https://github.com/Hexxeh/rpi-update/


RE: Recommend a wifi dongle for access point setup - mk01 - 17th Nov, 2013 09:04 AM

nono please not this firmware. I meant WIFI firmware. but if wlan0 is listed, this will be ok. if you succeed with assigning IP manually, then we will just modify interfaces file and you go. Beta1X has older Debian install, Beta2 newer - and Debian had/has some bugs around and from release to release the effect around combinations of auto if, manual/static/dhcp is different.

(if you use rpi-update on XBIAN, you will break the install most probably. XBIAN updates firmware through xbian-package-firmware deb package)


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 09:13 AM

(17th Nov, 2013 08:52 AM)mk01 Wrote:  and now

Code:
ifconfig wlan0 inet 192.168.10.1 255.255.255.0

will the address be set on wlan0 (shown in ifconfig)?

ok, NO updating from that link... you caught me just in time, just installed git-core... hehe...
heres what i got with that command you posted here,
Quote:root@xbian:~# ifconfig wlan0 inet 192.168.10.1 255.255.255.0
SIOCSIFADDR: Invalid argument

ok, when i mentioned before i could connect with static settings on my phone i had forgot that i also commented out "wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf" from within the interfaces file... i reinstalled xbian again and it wouldn't let me connect again even with static settings... so i commented that out and static connects again, but my phone cannot get internet (not important) also can't control XBMC with remote app via the phone... i've tried changing ip in the phone app to 192.168.10.1 and 192.168.2.215 (eth0 addy on Pi) with no success either way...


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 10:31 AM

ok, i think i got it... this is what i have in the interfaces file:
Quote:auto lo

iface lo inet loopback
iface eth0 inet dhcp

iface default inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.10.1
netmask 255.255.255.0
up iptables-restore < /etc/iptables.ipv4.nat

dhcp server was looking for a static setting in the "iface wlan0 inet static"
and removed the wpa line...

and this is my ifconfig:

Quote:eth0 Link encap:Ethernet HWaddr b8:27:eb:2b:1d:19
inet addr:192.168.2.215 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1387 errors:0 dropped:0 overruns:0 frame:0
TX packets:1479 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341587 (333.5 KiB) TX bytes:235743 (230.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB)

wlan0 Link encap:Ethernet HWaddr 80:1f:02:34:30:f5
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1190 errors:0 dropped:1459 overruns:0 frame:0
TX packets:958 errors:0 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:237768 (232.1 KiB) TX bytes:342400 (334.3 KiB)

its showing ip addys for wlan0 now...

i've rebooted it a couple times, i have internet on phone while wifi connected to RPi... DHCP is also working... can control XBMC from phone app with both ip addys, eth0-192.168.2.215 and wlan0-192.168.10.1...


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 11:44 AM

thanx again mk01, i reinstalled XBian 3 times and tried it each time... it works great...


Re: RE: Recommend a wifi dongle for access point setup - f1vefour - 17th Nov, 2013 02:57 PM

(16th Nov, 2013 04:21 PM)Wrechid Wrote:  I think it would be really Kool to see Xbian or any XBMC distro with the AP option somehow implement into the build, and edit it's settings from within XBMC... Smile

It is a feature of OpenELEC.


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 03:02 PM

Oh really...? It's to bad that OpenELEC is not for customization though... :/


Re: RE: Recommend a wifi dongle for access point setup - f1vefour - 17th Nov, 2013 03:04 PM

(17th Nov, 2013 03:02 PM)Wrechid Wrote:  Oh really...? It's to bad that OpenELEC is not for customization though... :/

It is horribly locked down, just letting you know the feature exists.


RE: Recommend a wifi dongle for access point setup - Wrechid - 17th Nov, 2013 03:10 PM

Oh it's definitely Kool to know, I'll keep that in mind... But being so locked down, it takes all the fun out of having AP feature... Smile
Thanx for the info... Smile


RE: Recommend a wifi dongle for access point setup - Wrechid - 19th Nov, 2013 07:31 AM

this don't work on beta2... hostapd and dhcp server doesn't install...


Re: RE: Recommend a wifi dongle for access point setup - f1vefour - 19th Nov, 2013 08:23 AM

(19th Nov, 2013 07:31 AM)Wrechid Wrote:  this don't work on beta2... hostapd and dhcp server doesn't install...

I'm certain mk01 is on beta2, what is the specific errors you receive?


RE: Recommend a wifi dongle for access point setup - Wrechid - 19th Nov, 2013 12:11 PM

i can't get the error to come back up... having to many other problems now... beta 1.1 is also giving me problems now... XBMC just notified me that an add-on "Universal Album Scraper" is marked as broken in the repository...

will post back when i have more info... :/


Re: RE: Recommend a wifi dongle for access point setup - f1vefour - 19th Nov, 2013 12:37 PM

(19th Nov, 2013 12:11 PM)Wrechid Wrote:  i can't get the error to come back up... having to many other problems now... beta 1.1 is also giving me problems now... XBMC just notified me that an add-on "Universal Album Scraper" is marked as broken in the repository...

will post back when i have more info... :/

Ignore that error.


RE: Recommend a wifi dongle for access point setup - Wrechid - 19th Nov, 2013 12:42 PM

looks like it was a SDcard failure... will try again tomorrow...