I would like to create a Ad-Hoc network. I would like to directly (no access point) connect to my pi via wifi/ssh.
My card is a NetGear, Inc. WG111v2 54 Mbps Wireless [RealTek RTL8187L], but I have just ordered a Edimax EW-7811Un.
A good tutorial / help would be great!
thanks!
m
Re: Create an Ad-Hoc network via WIFI
SBC with 32GB RAM: https://hardkernel.com
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
Re: Create an Ad-Hoc network via WIFI
You could turn your Pi INTO an access point and connect to that...
Do you specifically want to connect it as an Ad-Hoc network ?
Do you specifically want to connect it as an Ad-Hoc network ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Re: Create an Ad-Hoc network via WIFI
been using mine the same way, this is the walkthrough i followed on debian squeeze, this same setup has yet to work for me on wheezy
1) edit the file "/etc/modprobe.d/blacklist.conf" and add the line
blacklist rtl8192cu
2) Get hold of module file "8192cu.ko" either by compiling from source for ARM (hard) or from the link provided in the forum (easy, shown below)
wget http://www.electrictea.co.uk/r.....2cu.tar.gz
and then type
tar xf 8192cu.tar.gz
sudo install -p -m 644 8192cu.ko /lib/modules/3.1.9+/kernel/drivers/net/wireless/
sudo depmod -a
3) Make sure you have the file /lib/firmware/rtlwifi/rtl8712u.bin. If not, there is a link in the forum for you to download it.
4) Insert the dongle and reboot. You should see the module initializing as it boots
then to configure
ifconfig wlan0 up
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid "Pi"
sudo ifconfig wlan0 inet 172.0.0.1
connect to wireless created by the pi, assign yourself an ip of 172.0.0.2, ssh into your pi at 172.0.0.1!
1) edit the file "/etc/modprobe.d/blacklist.conf" and add the line
blacklist rtl8192cu
2) Get hold of module file "8192cu.ko" either by compiling from source for ARM (hard) or from the link provided in the forum (easy, shown below)
wget http://www.electrictea.co.uk/r.....2cu.tar.gz
and then type
tar xf 8192cu.tar.gz
sudo install -p -m 644 8192cu.ko /lib/modules/3.1.9+/kernel/drivers/net/wireless/
sudo depmod -a
3) Make sure you have the file /lib/firmware/rtlwifi/rtl8712u.bin. If not, there is a link in the forum for you to download it.
4) Insert the dongle and reboot. You should see the module initializing as it boots
then to configure
ifconfig wlan0 up
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid "Pi"
sudo ifconfig wlan0 inet 172.0.0.1
connect to wireless created by the pi, assign yourself an ip of 172.0.0.2, ssh into your pi at 172.0.0.1!
Re: Create an Ad-Hoc network via WIFI
Hi,
I used Edimax ew-7811un USB wireless dongle (latest Raspbian wheezy already has this dongle driver installed) and followed your steps to create Ad-Hoc (172.0.0.1), my iPad can find that dongle, and then I plug wire Ethernet crossover cable from Raspberry Pi (type B, 512MB, 192.168.1.4) to Squeezebox 3 (192.168.1.3), and then reboot Raspberry Pi, after that, I didn't not see my dongle, but I can listen the music via Ethernet crossover without any issue.
My idea is,
1. I want to use iPad s/w or web to remote control Raspberry Pi (Installed SqueezePlug 6 Logitech Media Server) .
2. Hardware configuration:
Squeezebox 3 Player <--Ethernet crossover cable-->Raspberry Pi (SqueezePlug & Logitech Media Server) <-- Ad-Hoc Edimax ew-7811un--> iPad
Is it possible to use Ad-Hoc & Wire at the same time?
Thanks
I used Edimax ew-7811un USB wireless dongle (latest Raspbian wheezy already has this dongle driver installed) and followed your steps to create Ad-Hoc (172.0.0.1), my iPad can find that dongle, and then I plug wire Ethernet crossover cable from Raspberry Pi (type B, 512MB, 192.168.1.4) to Squeezebox 3 (192.168.1.3), and then reboot Raspberry Pi, after that, I didn't not see my dongle, but I can listen the music via Ethernet crossover without any issue.
My idea is,
1. I want to use iPad s/w or web to remote control Raspberry Pi (Installed SqueezePlug 6 Logitech Media Server) .
2. Hardware configuration:
Squeezebox 3 Player <--Ethernet crossover cable-->Raspberry Pi (SqueezePlug & Logitech Media Server) <-- Ad-Hoc Edimax ew-7811un--> iPad
Is it possible to use Ad-Hoc & Wire at the same time?
Thanks
Re: Create an Ad-Hoc network via WIFI
I have just followed the instructions at https://wiki.debian.org/WiFi/AdHoc. It worked first time. I now have 2 RPis talking to each other. Now...
1. What is the best ad-hoc equivalent of DHCP? I do not want either to be a server in the usual sense but I do want further RPis to be able to join. Presumably, when the first machine boots, whichever one it is, it sets up the network and allocates itself an address.
2. Can WPA2 work in this context or is there some equivalent?
Ciao, Robin
1. What is the best ad-hoc equivalent of DHCP? I do not want either to be a server in the usual sense but I do want further RPis to be able to join. Presumably, when the first machine boots, whichever one it is, it sets up the network and allocates itself an address.
2. Can WPA2 work in this context or is there some equivalent?
Ciao, Robin
-
- Posts: 1
- Joined: Fri Sep 26, 2014 2:13 pm
-
- Posts: 1593
- Joined: Fri Jan 04, 2013 1:57 pm
- Location: de_DE
Re: Create an Ad-Hoc network via WIFI
did you got work your ad-hoc mode with the EW-7811Un ?
can you please tell me your settings...
can you please tell me your settings...
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)
Re: Create an Ad-Hoc network via WIFI
I did get the adapter to work but that's a long time ago now. I found it is a very small step towards having a working ad-hoc network. I tried Byzantium Pi ...
-
- Posts: 1
- Joined: Mon Jul 20, 2015 8:40 am
Re: Create an Ad-Hoc network via WIFI
Hello guys,
I am quite new to raspberry pi and I have a few question about the ad hoc network set up. I would like to establish communication between 2 pi's so I can continuously send a digital signal from one pi to the other.
Is ad-hoc network the simplest way to send digital signal or perhaps you guys have a better suggestion for signal transmission between pi's? Perhaps radio is the way to go?
If anyone have any tutorial or link for digital comms between pi's it would be really appreciate.
Cheers
I am quite new to raspberry pi and I have a few question about the ad hoc network set up. I would like to establish communication between 2 pi's so I can continuously send a digital signal from one pi to the other.
Is ad-hoc network the simplest way to send digital signal or perhaps you guys have a better suggestion for signal transmission between pi's? Perhaps radio is the way to go?
If anyone have any tutorial or link for digital comms between pi's it would be really appreciate.
Cheers
Re: Create an Ad-Hoc network via WIFI
@inovaxt
FYI. All RPis with ethernet have an autosensing interface and never require a crossover cable to connect to anything.
FYI. All RPis with ethernet have an autosensing interface and never require a crossover cable to connect to anything.
Quis custodiet ipsos custodes?