biwa7636
Posts: 24
Joined: Mon Aug 06, 2012 2:23 pm

Re: ASUS USB-N10 WiFi Adapter

Tue Aug 14, 2012 4:08 pm

Hi guys,
I have to say that the ASUS-N10 for me is such a pain of ass. :evil:
Here is what I have done and any help is appreicated.
--------------------------------------------------------------------------------------------------------
Basically there are three methods right now:
1. Engman who wrote a script and help you set up your wifi automatically.
2. Montala using wicd and wicd-gtk to use GUI to set up network
3. Popiman install the kernal and interfaces/modules/neworkrestart....etc.
--------------------------------------------------------------------------------------------------------
Here are the settings showed up on my Pi
Hardware:
ASUS N10 wifi connect to the usb port on the Pi board. Mice(LogitechM110) and keyboard(Kensington) connected using unpowered hub.

Software:
OS: wheesy 7-15 version
lsusb: BUS 001 Device 016: ID 0b05:1786 ASUSTeck Computer, Inc. USB-N10 802.11n Network Adapter [Realteck RTL8188SU]

/etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "BigLebowski"
wpa-psk "iloveCel1neD1on"
When I type in .networking restart...
Here is what they showed:

Code: Select all

Running /etc/init.d/netowrking restart is deprecated because it may not r
[warnble some interfaces..(warning))]
...
Listening on LPF/wlan0/c8:60:00:5e:2c:30
Sending  on LPF/wlan0/c8:60:00:5e:2c:30
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
Unable to obtain a lease on frist try. Exiting. 
Failed to bring up wlan0.
done.
I even can't see the wifi dongler's tiny blue light right now..

User avatar
Montala
Posts: 675
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)

Re: ASUS USB-N10 WiFi Adapter

Tue Aug 14, 2012 5:25 pm

My recommendation would be to use a powered hub (with a good power supply) and connect all devices to that.

That is what worked for me, although I was using a single 'dongle' for my wireless Logitech K400 keyboard/touchpad.

All I had plugged into the USB ports on the Pi itself was the connection to the powered hub.

Good Luck! :)

biwa7636
Posts: 24
Joined: Mon Aug 06, 2012 2:23 pm

Re: ASUS USB-N10 WiFi Adapter

Tue Aug 14, 2012 9:16 pm

Still doesn't work... Some body go ahead and make a detail and easy to use tutorial for this ASUS N10...
please...

User avatar
Montala
Posts: 675
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)

Re: ASUS USB-N10 WiFi Adapter

Tue Aug 14, 2012 9:28 pm

biwa7636 wrote:Still doesn't work... Some body go ahead and make a detail and easy to use tutorial for this ASUS N10...
please...
I did say I would try and get round to writing one, but haven't had a chance to do so yet... sorry!

What I want do is to start with a new clean "wheezy" image, and then work through each step, so that I can make the instructions as clear and as detailed as possible.

Hopefully before the end of this week! :)

biwa7636
Posts: 24
Joined: Mon Aug 06, 2012 2:23 pm

Re: ASUS USB-N10 WiFi Adapter

Sat Aug 18, 2012 4:44 pm

Dear Guys,
I switched my workstation back home and try to connect Pi to home wifi using Asus USB-N10
Here are some new progress that I have made even I have no idea how:
1. At booting, the Pi tried to connect to the network...DHCPDISCOVER..something, I used to be timeinterval = 10 .etc all the time. Right now, it seems like can get some response from network....
2. When I entered into the STARTX desktop, the adapter's blue light is always on, I think which means that it is connected.
-----------------------------------
but still, I can't connect to network using midori. And there is nothing when I type in ping google.com

can anyone give me any clue what should I do.

Thank you.

marosg
Posts: 25
Joined: Sat Jul 07, 2012 2:41 pm

Re: ASUS USB-N10 WiFi Adapter

Sat Aug 18, 2012 8:59 pm

Post output of these four commands, maybe we will find a clue there

ifconfig
iwconfig
route
cat /etc/resolv.conf

Gustavo_Murta
Posts: 24
Joined: Thu Dec 20, 2012 10:04 am
Location: Brasil

Re: ASUS USB-N10 WiFi Adapter

Thu Feb 28, 2013 11:28 am

I have a wireless network adapter from Asus (USB-N10) and was able to configure it in Raspberry!

http://br.asus.com/Networks/Wireless_Adapters/USBN10/

Initially I tried to install it using the version of Raspian (Debian Linux for Raspberry Pi) 2012-12-16-wheezy-raspbian, but was having difficulty. I researched the forum Raspberry many tips, but Raspian could not see the USB interface.

When reading a new tip, someone commented that the new version of the Raspian already have drivers (2013-02-09-wheezy-raspbian).

I did the installation and it worked! I'm still learning Linux and it was very cool to see the whole process. Some doubts, but it's pretty cool. Never been a big fan of Linux. The linux still has its limitations, but with Raspberry i'm having a lot of motivation to learn it.

This was the procedure to configure WIFI:

First I connected the WIFI adapter on my USB HUB with separate 5V supply (see previous topics).

To confirm that the Raspian found the Asus interface:

raspberrypi pi @ ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp..
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424: ec00 Standard Microsystems Corp..
Bus 001 Device 004: ID 1a40: 0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 005: ID 0b05: 1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]

Now we have to configure the wireless interface in Raspian. To view the network configuration file:

raspberrypi: ~ # cat / etc / network / interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

To change the settings use the NANO editor, very easy to use and much better than the VI (my view).

See before the SSID and password to access your Internet's router.
Attention, it is case sensitive . See the LAN network address of your router, if you want to change the configuration of the cabled network too.

In my case, I also configured my cabled network to static IP, to facilitate the use of SSH (terminal access) and VNC (access to graphical user interface). I connected the network cable from the Raspberry Pi to my router ASUS RT-N10.

$ sudo nano / etc / network / interfaces

Change the following >>>

auto lo
iface lo inet loopback
iface eth0 inet static (wired-static IP)
address 192.168.2.27 (ip_address RaspPi)
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1 (my router's network)

auto wlan0 (wireless network)
iface wlan0 inet dhcp
wpa-ssid my network
wpa-psk password

To save what was edited, then press CTRL + X, then Yes to confirm and then an ENTER.

To confirm what has changed:

raspberrypi: ~ # cat / etc / network / interfaces

To activate the WIFI network give the command (sudo is used if not using the root user).

# sudo ifup wlan0

View the network status using the ifconfig command. Eth0 is the abled network and the wireless network is wlan0.

raspberrypi pi @ ~ $ sudo ifconfig


eth0 Link encap:Ethernet HWaddr b8:27:eb:10:ae:87
inet addr:192.168.2.27 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:898 errors:0 dropped:5 overruns:0 frame:0
TX packets:620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68090 (66.4 KiB) TX bytes:81249 (79.3 KiB)

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

wlan0 Link encap:Ethernet HWaddr 10:bf:48:50:a7:18
inet addr:192.168.2.178 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1720 (1.6 KiB) TX bytes:4162 (4.0 KiB)


To test access between your PC and Raspberry use the ping command. For example on your Windows PC, open a command prompt and ping raspberry_ip address. Inside Raspberry Terminal, take a ping to the address of your PC. To view the complete address of your PC, give the command ipconfig at the prompt window.

To test the Raspberry Pi to access the internet use the command:

raspberrypi: ~ # ping 8.8.8.8 (Google address)

If you are not accessing the Internet, do the following.

raspberrypi pi @ ~ $ cat / etc / resolv.conf
nameserver 192.168.2.1

Add these namesevers. I saw this tip on the link below:

http://www.raspberrypi.org/phpBB3/viewt ... =27&t=8580

raspberrypi pi @ ~ $ sudo nano / etc / resolv.conf

nameserver 192.168.2.1
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 208.67.220.220
nameserver 208.67.222.222
nameserver 10.10.10.10

An important note, it's always good to reboot if something goes wrong.

And after doing some configurations, you must reboot too.

raspberrypi pi @ ~ $ sudo shutdown-r 1

sudo shutdown-h now (or sudo halt) to turn off the Raspberry Pi
sudo shutdown-r now (or sudo reboot) to restart the Raspberry Pi



Gustavo Murta (Brazil)

franzd
Posts: 1
Joined: Thu Mar 14, 2013 7:16 pm

Re: ASUS USB-N10 WiFi Adapter

Thu Mar 14, 2013 7:44 pm

Hopefully this will help everyone. As I am in the states, I will write about my experience with the wireless ASUS USB-N10 against a Verizon wireless access device MI424WR. Basically, I spent a day mucking up the interface and wpa_supplicant.conf and messing up my bootOS. After a beer and rest, I started again the next day. My win7 machine says the network is WEP with no authentication. So, I restarted with blank disk and after initial raspi-config, I arrived at the desktop. Since I knew the drivers were install, I left the files alone and started the wpa_gui program.
1) Go to the Internet and click on wpa_gui.
2) After the program starts, it should see your wireless as wlan0. If not, this will not work.
3) Click on the connect button. You should see a message that wps-ap-available.
4) Click on the scan button to bring up an adwindow with SSIDs. Click on your SSID to open up a connect window.
5) On my connect window, it comes up as WEP. Add your password in the key0 box and click the add button to add and close the add window. You will have to close the scan window by clicking close.
6) After a period of time, you should see the message complete in the wpa_gui window.
7) Check with the ifconfig at the LXterminal to see that the wireless has an IP address.
8) Modifications were made automatically to the /etc/network/interface and /etc/wpa_supplicant/wpa_supplicant.conf.
9) For those who what to know, the change for WEP in wpa_supplicant .conf were
network = {
ssid="SSIDNAME" The name is case sensitive and has double quotes around
key_mgmt=NONE My network says no authetication (open)
auth_alg=OPEN
wep_key0=passwd This is your network password without quotes.
}

Hopefully this will help. I repeated it on another pi with the same process. Thanks for the toy Raspberry Pi as I have lots to do with it. I might even owe them a few pints. Cheers.

Return to “Raspbian”