Page 1 of 1

WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 1:27 pm
by God
I so want to love my pi.....

But dear lord it's hard. I have spent hours trying to get it to work, following the examples from 'Meet the raspberry Pi'. All to no avail. I did consider trying to post some of the files and screen output here but when I load the SD card on to my Win-PC the files I altered / wrote in nano are not visible so I cant.

Surely it isn't meant to be this hard and frustrating? I may well have to give up before the thing ever gets on line.. What a user hostile experience this has been. probably my first and last linux box.

I have searched the net (using my spawn of Bill - net friendly Win-PC) to see if there is a utility available to help with connecting my pi but not a sausage... Do any of you know of one?

I know this post is somewhat negative, but you can't believe how frustrating it is to spend hours and hours trying to do something that is usually simple!

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 1:29 pm
by Mr.Dave

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 1:48 pm
by God
Hi Mr. Dave

That looks interesting....

Can you tell me how to get the file from a Win-PC, where to save it on the SD card, (remembering I can only see the directory that contains kernel.img on the PC), and how to install once on the pi?

Sorry to be a pain but I know SFA about Linux.

Cheers

Peter

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 2:35 pm
by windhero
I feel your pain (http://www.raspberrypi.org/phpBB3/viewt ... 28&t=15465).

What Wifi-dongle are you using? Get the info from it by plugging it in and typing

Code: Select all

lsmod

Code: Select all

lsusb
Also boot your pi with the dongle in it and type

Code: Select all

dmesg |grep usb
to see if there's something wrong with your dongle.

typing

Code: Select all

ls /lib/firmware
tells you which firmwares you have installed. If you're missing the one you need, you need to download it either with apt-get or manually from somewhere else.



Good luck!

if Meet the Raspberry Pi didn't help (like it didn't with me), the problem is much more complex than you just messing something up. In my case it was conflicting modules and I still cant make the piece of crap work. My solution was to save the next 4 hours of trying to make it work and buying a cheap new one from ebay that works.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 2:37 pm
by bredman
God wrote:Can you tell me how to get the file from a Win-PC, where to save it on the SD card, (remembering I can only see the directory that contains kernel.img on the PC), and how to install once on the pi?
See this thread for instructions
http://www.raspberrypi.org/phpBB3/viewt ... =26&t=8474

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 2:40 pm
by bredman
It would also help if you told us which type of WiFi device you have.

All we need is the 8-digit code that you get from the command
lsusb

You could have been very unlucky and bought a device that is tough to get working. There are a lot of WiFi devices that work very easily, see
http://elinux.org/RPi_VerifiedPeriphera ... i_Adapters

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 2:43 pm
by Mr.Dave
God wrote:Hi Mr. Dave

That looks interesting....

Can you tell me how to get the file from a Win-PC, where to save it on the SD card, (remembering I can only see the directory that contains kernel.img on the PC), and how to install once on the pi?

Sorry to be a pain but I know SFA about Linux.

Cheers

Peter


Unless you have a Linux box you'll need to be booted into the Pi, and then you can either use Terminal to edit the file, or you can use PuTTY on the PC to SSH into the Pi and do it from there, Windows can only read the small FAT partition not the linux partitions

Probably easier to do it from the Pi this time around until you become a little more familiar with things

Boot the Pi up, open Terminal and then start entering the commands that are shown in the link I posted

It's pretty much just a copy / paste job from that guide to your Pi's terminal window remembering to use only the firmware relating to your particular wifi sticks chipset, ralink / realtek etc

Only tips I can think of are once you are happy with your edited file, the command to save the file is: Ctrl + X, then hit Y, then hit Enter

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 3:28 pm
by God
windhero wrote:I feel your pain (http://www.raspberrypi.org/phpBB3/viewt ... 28&t=15465).

What Wifi-dongle are you using?
Currently a Netgear WG111V2 which loaded realtek RT18187 Wireless switch on, registered new interface driver rt18187.... Yada yada yada...

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 3:30 pm
by God
Going to be going through all these suggestions shortly... your help really is appreciated. I will report back!

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 3:51 pm
by Dweeber
Now days, I just mount a thumb drive when I want to get something on the RPi without network access.. but before I was able to do that, I created a subdirectory off the /boot filesystems.

Code: Select all

mkdir /boot/rpi
This allows me to mount the SDCard on my notebook, and put some small files in the rpi directory that shows up. Then boot the RPi up and the files are in /boot/rpi

Code: Select all

ls -l /boot/rpi
-rwxr-xr-x 1 root root 214260 Aug 25 13:56 8192cu-20120825.tar.gz
-rwxr-xr-x 1 root root  25839 Aug 27 08:49 config.txt.working
-rwxr-xr-x 1 root root  47654 Aug 25 13:56 install-rtl8188cus.sh
-rwxr-xr-x 1 root root  40122 Aug 25 13:56 install-rtl8188cus.txt
-rwxr-xr-x 1 root root    149 Aug 27 08:48 interfaces
Was tedious to have to shutdown the RPi, move the card to the PC, move/get files, close the drive, put it back into the RPi and reboot, but at least I could do it.

The subdirectory in /boot keeps the clutter out of the /boot filesystem and you have to be careful not to put anything big in there as it is a small filesystem.

Code: Select all

# df -h /boot
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1   56M   36M   21M  64% /boot

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 4:53 pm
by Lob0426
There is a utility for your wireless. I use network-manager-gnome. Install it after invoking sudo su. Then plug in your WiFi.

To give you better answers, it would help if there was more information.
OS used
Adapter model or chipset
And whether you are using a powered hub, if you are not. Then you are bound to continue being unsuccessful.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 5:20 pm
by God
I am using:

2012-08-16-wheezy-raspbian Netgear wg111v2 I also have a v3 but seem to remember reading v2 worked I believe they both use the realtek chip. I could also if needed use an edimax EW7711.

I am using a 'Strand' 7 port powered hub.

Cheers

Peter

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 6:47 pm
by The Captain
While there is no doubt Linux is far less elegant with Wi-Fi than some closed O/S plus it has less vendor support, there seems to be far more frustration caused than necessary.

If you want a challenge then great but if you just want to turn on and go, an instant alternative is to use an access point in client mode.

A multi-port access point is from 20 pounds. It also offers vastly superior features and runs driver-less off the ethernet port with its own web setup interface.

There are better way to spend time ;)

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 8:01 pm
by God
Funnily enough I did try Ethernet-ing the pi to a second (same as my main router) Netgear DG834N and tried the advanced Wireless options but also no joy, probably because it isn't quite as simple as the web interface suggests.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 8:11 pm
by The Captain
God wrote:Funnily enough I did try Ethernet-ing the pi to a second (same as my main router) Netgear DG834N and tried the advanced Wireless options but also no joy, probably because it isn't quite as simple as the web interface suggests.
Using a router as a reversed, client-mode access point is just another mountain to climb and unlikely to be successful.

A new AP on Ebay (item 221057613108) is peanuts. A second-hand one would be pennies.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 8:58 pm
by God
I'm not spending another 20 quid. So far I have purchased hdmi cable, dvi adapter, powered usb hub, mini wifi keyboard, case, sd card, ebooks, monitor switcher..... I am not throwing more money at it.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 9:07 pm
by alexeames
God wrote: I could also if needed use an edimax EW7711.
If that's the teeny one with the flashing blue LED you can install that very easily using MrEngman's script...

Details here...
http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt

script here...
http://dl.dropbox.com/u/80256631/instal ... -latest.sh

put the script in the /boot folder and run it as sudo. You should be up and running in minutes.

There's a massive thread about it here...
http://www.raspberrypi.org/phpBB3/viewt ... =26&t=6256

And specifically how to use the script...
http://www.raspberrypi.org/phpBB3/viewt ... 31#p160131

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 9:20 pm
by God
Hi

It is not the dinky one, it looks like this Image

But I will also give that a go :)

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 9:33 pm
by alexeames
If it's got the same chipset rtl8188cus, it should work. If it hasn't it won't.

Re: WiFi - Just about ready to throw my pi at the wall!

Posted: Mon Aug 27, 2012 9:50 pm
by Lob0426
God wrote:I am using:

2012-08-16-wheezy-raspbian Netgear wg111v2 I also have a v3 but seem to remember reading v2 worked I believe they both use the realtek chip. I could also if needed use an edimax EW7711.

I am using a 'Strand' 7 port powered hub.

Cheers

Peter
I have a netgear wg111v2 also. It is supported by the kernel on mine with no drivers needed. Try network-manager-gnome. Again you must install it as root, and you must do the setup (connection name, password in security etc.) in LXDE as root. Then it should just plug in and work. Mine works in cmd line and in the GUI.