User avatar
DougieLawson
Posts: 35784
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Mon Dec 23, 2013 6:53 pm

Running ISC Bind9 isn't that difficult, it's coding all of the zone files that adds the layer of complexity.

I've got zone files for my IPv4 network (with some IPv6 AAAA records) but I've not done the reverse lookup for IPv6 (need to read up on doing that).
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

labtom
Posts: 4
Joined: Fri Jan 03, 2014 11:06 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 11:37 am

Hi I'm having some trouble with using the raspi as a WiFi hotspot. I have raspbian running on the pi. I followed the tutorial on http://elinux.org/RPI-Wireless-Hotspot . The wireless device is: http://thepihut.com/products/usb-wifi-a ... spberry-pi

After installing everything I can dial in to my access point with my laptop. But I have no acces to the Internet. But I have access to the pi through the wifi. The pi has a working internet connection through cable.

the ifconfig output of my pi after reboot is:

Code: Select all

  eth0      Link encap:Ethernet  Hardware Adresse b8:27:eb:0d:e1:7f  
          inet Adresse:192.168.0.11  Bcast:192.168.0.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:159 errors:0 dropped:0 overruns:0 frame:0
          TX packets:176 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:14323 (13.9 KiB)  TX bytes:22659 (22.1 KiB)

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

mon.wlan0 Link encap:UNSPEC  Hardware Adresse 00-0F-55-A6-64-66-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:6180 (6.0 KiB)  TX bytes:0 (0.0 B)

tun0      Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet Adresse:10.8.0.1  P-z-P:10.8.0.2  Maske:255.255.255.255
          UP PUNKTZUPUNKT RUNNING NOARP MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  Hardware Adresse 00:0f:55:a6:64:66  
          inet Adresse:192.168.1.1  Bcast:192.168.1.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 B)  TX bytes:7468 (7.2 KiB) 
That means my wlan0 has an ip-address. Don't worry about tun0. That is a vpn server (openvpn) running on the pi.

ok so far so good. When I run: hostapd /etc/hostapd/hostapd.conf

the output is

Code: Select all

    Configuration file: /etc/hostapd/hostapd.conf
Failed to create interface mon.wlan0: -23 (Too many open files in system)
Try to remove and re-create mon.wlan0
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 00:0f:55:a6:64:66 and ssid 'torb' 
when I run again ifconfig, the output is:

Code: Select all

    [eth0      Link encap:Ethernet  Hardware Adresse b8:27:eb:0d:e1:7f  
          inet Adresse:192.168.0.11  Bcast:192.168.0.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:313 errors:0 dropped:0 overruns:0 frame:0
          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:25275 (24.6 KiB)  TX bytes:38913 (38.0 KiB)

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:200 (200.0 B)  TX bytes:200 (200.0 B)

tun0      Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet Adresse:10.8.0.1  P-z-P:10.8.0.2  Maske:255.255.255.255
          UP PUNKTZUPUNKT RUNNING NOARP MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  Hardware Adresse 00:0f:55:a6:64:66  
          UP BROADCAST MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 B)  TX bytes:8019 (7.8 KiB)

As you see the mon0.wlan0 entry disapeared! Why?

By doing again: hostapd /etc/hostapd/hostapd.conf

the output changes to

Code: Select all

  Configuration file: /etc/hostapd/hostapd.conf
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 00:0f:55:a6:64:66 and ssid 'torb'  
I have no clue where the misstake is. I've gone through this thread, but I couldn't find the same problem:

Here are my settings:

/etc/hostapd/hostapd.conf:

Code: Select all

   interface=wlan0
driver=nl80211
ssid=torb
hw_mode=g
channel=4
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=saveandsecure
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
/etc/network/interfaces:

Code: Select all

  auto lo
iface lo inet loopback
iface eth0 inet static
  address 192.168.0.11
    netmask 255.255.255.0
    gateway 192.168.0.1
    dns-nameservers 192.168.0.1
    broadcast 192.168.0.255
iface wlan0 inet static
  address 192.168.1.1
  netmask 255.255.255.0
up iptables-restore < /etc/iptables.ipv4.nat  
I played around for several days but I can't get it to work.
For any help I would be very thankfull.
thanks

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 5:15 pm

labtom wrote:

Code: Select all

    Configuration file: /etc/hostapd/hostapd.conf
Failed to create interface mon.wlan0: -23 (Too many open files in system)
Try to remove and re-create mon.wlan0
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 00:0f:55:a6:64:66 and ssid 'torb' 
It sounds like hostapd might already be running in the background as a service. Reboot your Pi and run the command:

Code: Select all

ps ax | grep -v grep | grep hostapd
If it returns a line of text, then hostapd is already running as a service, and you should be able to connect.

labtom
Posts: 4
Joined: Fri Jan 03, 2014 11:06 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 5:26 pm

That's the output of ps ax | grep -v grep | grep hostapd:

Code: Select all

2063 ?        Ss     0:00 /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
I can connect (my laptop is getting an ip), but I can't browse the internet. (I can also ping the pi through wifi after I'm connected).

Any ideas?
thanks

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 6:04 pm

labtom wrote:That's the output of ps ax | grep -v grep | grep hostapd:

Code: Select all

2063 ?        Ss     0:00 /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
I can connect (my laptop is getting an ip), but I can't browse the internet. (I can also ping the pi through wifi after I'm connected).

Any ideas?
thanks
Your router (AKA default gateway) might be set incorrectly in /etc/udhcpd.conf. Open the file check the line:

Code: Select all

option router a.b.c.d
Make sure a.b.c.d is set to your Pi's wlan0 interface's IP address. In the tutorial I used 192.168.42.1, but according to your /etc/network/interfaces file it should be set to 192.168.1.1.

If the above doesn't fix the issue, then make sure IP forwarding is set up correctly. Post the output of the command:

Code: Select all

iptables --list

labtom
Posts: 4
Joined: Fri Jan 03, 2014 11:06 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 6:19 pm

I checked the router IP (raspberry pi). It's correct.

Code: Select all

#Examles
opt     dns     8.8.8.8 4.2.2.2
option  subnet  255.255.255.0
opt     router  192.168.1.1
opt     wins    192.168.10.10
option  dns     129.219.13.81   # appened to above DNS servers for a total of 3
option  domain  local
option  lease   864000          # 10 days of seconds
The output of "iptables --list" is:

Code: Select all

 Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  10.8.0.0/24          anywhere            
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  10.8.0.0/24          anywhere            
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
looks a bit messy, right :)? But I have no idea. Maybe it's so messy because 2 weeks ago I messed around with openvpn?
further suggestions?

thank you so much so far

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 11:01 pm

labtom wrote:

Code: Select all

 Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  10.8.0.0/24          anywhere            
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  10.8.0.0/24          anywhere            
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Looks like something went wrong when setting up the firewall/NAT rules. Run the command:

Code: Select all

sudo iptables --flush
This will delete all existing IPTables rules. Then re-run the NAT section of the tutorial and reboot.

labtom
Posts: 4
Joined: Fri Jan 03, 2014 11:06 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Jan 03, 2014 11:44 pm

thousand thanks, I can't believe it's working :lol:
thank you very much!!!!
the output of iptables --list is now:

Code: Select all

 Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  10.8.0.0/24          anywhere            
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination    

thx again for the fast help

ecolban
Posts: 2
Joined: Sun Jan 05, 2014 5:21 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Jan 05, 2014 5:27 am

If I run:

Code: Select all

udhcpd -f
I get:

Code: Select all

udhcpd (v1.20.2) started
udhcpd: max_leases=235 is too big, setting to 19
udhcpd: can't open '/var/lib/misc/udhcpd.leases': No such file or directory
udhcpd: socket: Operation not permitted
However max_leases is commented out in /etc/udhcpd.conf and so is lease_file. Where is udhcpd looking for the conf file?

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Jan 05, 2014 1:50 pm

ecolban wrote:If I run:

Code: Select all

udhcpd -f
I get:

Code: Select all

udhcpd (v1.20.2) started
udhcpd: max_leases=235 is too big, setting to 19
udhcpd: can't open '/var/lib/misc/udhcpd.leases': No such file or directory
udhcpd: socket: Operation not permitted
However max_leases is commented out in /etc/udhcpd.conf and so is lease_file. Where is udhcpd looking for the conf file?
Max_leases defaults to 254 leases, but will adjust itself automatically based on how many IPs are in the range specified in the "start" and "end" range in the config file, in your case 19. The message is just a notice and not an error, if you want to get rid of it set max_leases to 19.

ecolban
Posts: 2
Joined: Sun Jan 05, 2014 5:21 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Jan 05, 2014 2:50 pm

Thanks for the answer, but the problem is that I cannot get udhcpd to run. What do I do about the two next messages? "Socket: Operation not permitted"

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Jan 05, 2014 7:02 pm

ecolban wrote:Thanks for the answer, but the problem is that I cannot get udhcpd to run. What do I do about the two next messages? "Socket: Operation not permitted"
Try running:

Code: Select all

sudo udhcpd -f
The "sudo" command runs commands with root (AKA admin) privileges, which will likely clear up the operation not permitted error.

G0Ku5
Posts: 47
Joined: Sun Sep 01, 2013 12:38 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Tue Jan 21, 2014 9:41 pm

I have a problem on my hotspot, sometimes, but more often lately, let have access to internet and pi, through the wifi, I try to connect with my windows pc and windows detects the error that says that this related to the ip
then the only solution I have is to restart the pi by turning off the electricity and reconnect

anyone have any idea which can help me?

seldenr
Posts: 15
Joined: Fri Feb 07, 2014 4:35 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Feb 07, 2014 4:43 am

Hi!
I just followed this tutorial and am having some trouble. I am using a RevB2 Pi with Raspbian Wheezy with a Ralink 5370 WiFi adapter which this tutorial says is supported.

When I run "sudo service hostapd start" - I get the following error:
"[FAIL] Starting advanced IEEE 802.11 management: hostapd failed!"

When I run "sudo service udhcpd start" - I get
"Starting very small Busybox based DHCP server: Starting /usr/sbin/udhcpd... udhcpd."

But nothing happens. Any idea what I should do here?

Thanks for your help.

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Feb 07, 2014 3:33 pm

seldenr wrote:When I run "sudo service hostapd start" - I get the following error:
"[FAIL] Starting advanced IEEE 802.11 management: hostapd failed!"
Try the command:

Code: Select all

sudo hostapd -d /etc/hostapd/hostapd.conf
This should output the error message telling you why hostapd isn't starting, please post the output here.

seldenr
Posts: 15
Joined: Fri Feb 07, 2014 4:35 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Feb 07, 2014 8:30 pm

hunternet93 wrote:
seldenr wrote:When I run "sudo service hostapd start" - I get the following error:
"[FAIL] Starting advanced IEEE 802.11 management: hostapd failed!"
Try the command:

Code: Select all

sudo hostapd -d /etc/hostapd/hostapd.conf
This should output the error message telling you why hostapd isn't starting, please post the output here.
Ok, I ran that. Here's what I get:

Code: Select all

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Line 2: unknown configuration item '    ssid'
Line 3: unknown configuration item '    hw_mode'
Line 4: unknown configuration item '    channel'
Line 5: unknown configuration item '    auth_algs'
Line 6: unknown configuration item '    wmm_enabled'
5 errors found in configuration file '/etc/hostapd/hostapd.conf'

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Feb 07, 2014 9:29 pm

seldenr wrote: Ok, I ran that. Here's what I get:

Code: Select all

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Line 2: unknown configuration item '    ssid'
Line 3: unknown configuration item '    hw_mode'
Line 4: unknown configuration item '    channel'
Line 5: unknown configuration item '    auth_algs'
Line 6: unknown configuration item '    wmm_enabled'
5 errors found in configuration file '/etc/hostapd/hostapd.conf'
It looks like there are some tabs and/or spaces in front of the lines of your /etc/hostapd/hostapd.conf, try editing the file and removing them and then restarting hostapd.

seldenr
Posts: 15
Joined: Fri Feb 07, 2014 4:35 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Fri Feb 07, 2014 9:47 pm

hunternet93 wrote:
seldenr wrote: Ok, I ran that. Here's what I get:

Code: Select all

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Line 2: unknown configuration item '    ssid'
Line 3: unknown configuration item '    hw_mode'
Line 4: unknown configuration item '    channel'
Line 5: unknown configuration item '    auth_algs'
Line 6: unknown configuration item '    wmm_enabled'
5 errors found in configuration file '/etc/hostapd/hostapd.conf'
It looks like there are some tabs and/or spaces in front of the lines of your /etc/hostapd/hostapd.conf, try editing the file and removing them and then restarting hostapd.
Ooh! Awesome! That worked! So now I have my network, but it's not giving any internet. It did give a connected device an ip address inside it's range. Interestingly when I run

Code: Select all

sudo iptables-save > /etc/iptables.ipv4.nat
as it says to do so in the tutorial, I get

Code: Select all

-bash: /etc/iptables.ipv4.nat: Permission denied
Do you know why this is? I assume that NAT isn't running which is probably the reason that there is no internet.
I did check that I can ping from my pi. I also notice that there is no file /etc/iptables.ipv4.nat but I would have assumed the system could create one as I ran the command as sudo.

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 3:18 am

seldenr wrote:

Code: Select all

-bash: /etc/iptables.ipv4.nat: Permission denied
The tutorial in the forum post has a couple of errors which I can't edit, the version on the eLinux wiki has an updated, working version of that command. Try re-running all of step 4 from the wiki to make sure all the settings are set correctly.

poing
Posts: 1131
Joined: Thu Mar 08, 2012 3:32 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 9:28 am

hunternet93 wrote:The tutorial in the forum post has a couple of errors which I can't edit,
That policy changed a while back, you can now edit even very old posts.

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 8:24 pm

poing wrote:
hunternet93 wrote:The tutorial in the forum post has a couple of errors which I can't edit,
That policy changed a while back, you can now edit even very old posts.
Cool, I removed the outdated tutorial and only left the link to the wiki.

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 8:52 pm

The link isn't clickable, you should put

Code: Select all

[url]....[/url]
around it.
my Raspberry Pi page: http://raspberry.gerrelt.nl

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 8:54 pm

Gerrelt wrote:The link isn't clickable, you should put

Code: Select all

[url]....[/url]
around it.
Fixed! Thanks.

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Sun Feb 09, 2014 9:05 pm

And thank you for the tutorial! 8-)
my Raspberry Pi page: http://raspberry.gerrelt.nl

thak
Posts: 51
Joined: Wed Apr 10, 2013 6:22 pm

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Mon Feb 10, 2014 9:10 pm

Hi all!

I followed your tuto (and the one for edimax dongle) everything is fine except that i can't start hostapd and/or udhcpd on boot...

each time i try tu run the followind command :

Code: Select all

sudo update-rc.d hostapd enable
sudo update-rc.d udhcpd enable
i have this warning :

Code: Select all

update-rc.d: using dependency based boot sequencing
update-rc.d: error: no runlevel symlinks to modify, aborting
Any idea what i'm doing wrong?

Return to “Networking and servers”