Wireless Raspberry Pi
Chris Hall (132) 3503 posts |
I wanted to connect my Raspberry Pi (model B) to my home network using WiFi. I have an ADSL router and several devices wired to it, with wireless for my portable. However I wanted to have the Pi the other side of the room without a trailing lead (which was my ‘temporary’ solution). I have a spare Belkin ADSL wireless modem/router (which would probably do the job if I knew what to tell it to do) but I finally decided to buy a device from CJE at the South West show – a WL-330N Portable Wireless N Router. This connects to the network socket on the Pi and gives me a wireless connection to my home network for the Pi. It can be set up from the Pi using FireFox, telling it to use ‘Wireless Network Adaptor Mode’ and then finding the wireless channel and putting in the passcode for it and telling it to remember it. The Pi now finds the shared drives on my home network. Next step is to set up printing on the Pi… |
Chris Evans (457) 1614 posts |
Great to know that Firefox will allow set up. |
john evans (1898) 63 posts |
" I finally decided to buy a device from CJE at the South West show – a WL-330N Portable Wireless N Router. This connects to the network socket on the Pi and gives me a wireless connection to my home network for the Pi." Yes, I sometimes use a TP-Link wr702n. However, I can’t so far set it up via Netsurf on the RPI, as the setup pages for every router I’ve tried so far just fail to display their server pages properly let alone allow SSID etc. to be setup. How did you get Firefox to work on RPI? I’ve tried it & after taking ages to attempt to load, it crashes. |
Chris Hall (132) 3503 posts |
How did you get Firefox to work on RPI? I simply downloaded it to the Pi using !Packman – using a wired network connection and DHCP. Presumably you are able to setup the 330 via Firefox? Yes. Remove the wired network connection and connect the 330 to the Pi’s network socket. Set the Pi to have a suitable static IP, of 192.168.1.33 (for example), and connect to the 330 using http://192.168.1.1 via Firefox, set the 330’s operating mode (‘network adaptor’) look for my wireless network and type in its pass code and press ‘Connect’. Reboot the Pi and 192.168.1.1 then sees my ADSL modem and shares and networking all work OK. |
john evans (1898) 63 posts |
“I simply downloaded it to the Pi using !Packman – using a wired network connection and DHCP.” Strange, !Packman, along with the !Store, isn’t showing Firefox. Is there perhaps an alternative repository for Firefox? |
Raik (463) 2026 posts |
http://www.riscos.info/packages/BrowserDetails.html#firefox Works (slowly) with Beagle, Panda, RPi and Pandora with wired, wireless and UMTS connection. |
john evans (1898) 63 posts |
Thank you Raik. It also crashed with a fleeting ARM register dump, but has subsequently worked ok, but as you say, slowly…… Still, at least I should be able to set up router, SSID’s etc. now. Netsurf wouldn’t even accept the correct password for my router. It’ll be useful for demonstrating RISC OS at Raspberry Jam meetings where the wifi is sketchy & ability to change SSID’s is essential. |
Raik (463) 2026 posts |
Look here https://www.riscosopen.org/forum/forums/5/topics/1607#posts-18993 to make firefox a little bit faster. |
Chris Hall (132) 3503 posts |
Strange, !Packman, along with the !Store, isn’t showing Firefox It is there on !Packman but it is called ‘firefox’ and is thus listed after ‘Z…’ at the end of the list. |
Chris Hall (132) 3503 posts |
I have now managed to get my Raspberry Pi connected to my home network using WiFi, also with a WiFi connected keyboard and mouse. The WiFi is connected to the Raspberry Pi’s ethernet port using a “WL-330N Portable Wireless N Router” purchased from CJE Micros (£42) and the WiFi keyboard and mouse is a “Logitech MK320” also purchased from CJE Micros (£46). Other wireless mice I found (so far) would not work. The network set up is a mixture of static IP addresses and DHCP (the ADSL router is set up to use 192.168.1.100 to 199 as DHCP) – click here for a detailed picture. |
john evans (1898) 63 posts |
Thank you for routing me to the lowercase firefox, as I obviously didn’t scroll down far enough! :) At first I read your note as the keyboard being wifi, thinking it somehow linked in to your wifi setup. Although it’s no longer available I presume it needs a USB adapter perhaps similar to what I have, a K800 Logitech keyboard along with a “Unifying Receiver”? The key advantage of that Logitech idea is that keyboards, mice, trackballs etc., pair with the receiver, NOT the machine, unlike Bluetooth for example, which excludes its use under RISC OS. I use this Unifying receiver in conjunction with a KVM which works perfectly with RISC OS on a RPI. If I don’t want to use a KVM, but just RPi, I can simply unplug the Logitech receiver from the KVM, & pop it into the RPi’s USB port. An advantage of RISC OS’s USB implementation is that it seems to cope well with (dis)connection of HID devices, unlike most the Linux’s which insist on having keyboard & mouse present at boot time. |
Chris Hall (132) 3503 posts |
I presume it needs a USB adapter Yes I show that as a dot with a few lines by the side of a (blue) computer – a small USB plug with a wireless tx. It just appears as a USB connected keyboard and mouse to the computer (I suppose). The orange bits are KVMs – one USB and one PS2. |
andym (447) 464 posts |
@Chris Blimey! Have you thought of redesigning the Tube Map?! That’s a very impressive set up, and an even more impressive diagram! |
Chris Hall (132) 3503 posts |
even more impressive diagram! I produced it because I couldn’t remember exactly what was connected to what. I used a BASIC programme and MakeDraw. |
Chris Evans (457) 1614 posts |
@Chris |
Chris Hall (132) 3503 posts |
is that for future expansion? Yes. To set up the 330N from the Pi I had to connect them directly but the 330N remembers the setup even after power off and so will work through a switch once set up. |
Alan Williams (305) 8 posts |
A bit off topic but you could always upload your network diagram here Another handy thing would be synergy port for RISC OS, that would get some of the surplus keyboards and mice off my desk. Alan |