markblue777
Posts: 25
Joined: Thu Sep 01, 2016 1:59 pm
Contact: Website

Raspberry Pi Zero Ad-hoc network

Thu Sep 01, 2016 2:06 pm

Hi All,
I have been following a few threads on how to setup my pi zero to be an ad hoc device so I can connect to it with my laptop whilst on the train to dev on etc. However, I am not getting much joy. if i perform an ifconfig the ip is set as expected but I cannot see the network name that I assigned.

Anyone had any success with setting this up on there zero? What wireless adapter is best suited?

The links are as follows for what I have tried.

http://slicepi.com/creating-an-ad-hoc-n ... pberry-pi/

http://lcdev.dk/2012/11/18/raspberry-pi ... -fallback/

Cheers
Mark

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry Pi Zero Ad-hoc network

Fri Sep 02, 2016 5:45 am

There may be an easier approach, you can configure a ZERO in "Gadget Mode"

This only requires a USB OTG Cable and then you SSH into the ZERO from your Laptop, the added bonus is it also powers the ZERO so less clutter:

http://blog.gbaman.info/?p=791


.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

markblue777
Posts: 25
Joined: Thu Sep 01, 2016 1:59 pm
Contact: Website

Re: Raspberry Pi Zero Ad-hoc network

Fri Sep 02, 2016 9:28 am

Hi fruitoftheloom,
Thanks for the info that could be quite useful. However, I would like to try and get this sorted now, i'm one of these people that want to get something to work when it should and there is no obvious reason it does not. Then only thing I can think of is that the wireless adaptor does not support being an adhoc point?

Any one got any ideas or know of an adaptor that works?

Cheers
Mark

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry Pi Zero Ad-hoc network

Fri Sep 02, 2016 10:03 am

markblue777 wrote:Hi fruitoftheloom,
Thanks for the info that could be quite useful. However, I would like to try and get this sorted now, i'm one of these people that want to get something to work when it should and there is no obvious reason it does not. Then only thing I can think of is that the wireless adaptor does not support being an adhoc point?

Any one got any ideas or know of an adaptor that works?

Cheers
Mark
Ad-hoc is very hit and miss as most adapters afaiaa do not support.

Usually setting up the Raspberry Pi as an Access Point is the preferred method:

https://frillip.com/using-your-raspberr ... th-hostapd
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “Advanced users”