Tiny Core Extensions > TCE 2.x
hostapd - wifi AP daemon
curaga:
Well, http://madwifi-project.org/wiki/UserDocs/ath5kAccessPoint claims it's only supported from .31 onwards. See if using the compat-wireless extension (wireless-2.6.29.1-tinycore_mod.tcz) instead of the normal one helps.
aris:
hi there
Im trying to setup hostpad using old mini pci, I'm on amd geode 233 with 128MB ram..alix old board
I cant find hostpad.tcz for Linux box 4.2.9-tinycore version 7.2, so I coppied the tcz for v8 and with .dep file
load it and its working manually
--- Code: ---sudo hostapd -B /usr/local/etc/config/hostapd.conf
tc@box:~$ ps | grep hostapd
1013 root hostapd /usr/local/etc/config/hostapd.conf
--- End code ---
Problem is when I want to run it automatically
--- Code: ---tc@box:~$ cat /opt/bootlocal.sh
#!/bin/sh
sudo hostapd -B /usr/local/etc/config/hostapd.conf
/usr/local/etc/init.d/openssh start &
--- End code ---
It wont autostart, dmesg show no info about hostapd
I obviously missing something...any clue ?
and I cant connect to hostapd AP yet
with open (no security) ..playing with it now..
thanks
polikuo:
--- Quote from: aris on December 21, 2017, 04:58:02 AM ---hi there
Im trying to setup hostpad using old mini pci, I'm on amd geode 233 with 128MB ram..alix old board
I cant find hostpad.tcz for Linux box 4.2.9-tinycore version 7.2, so I coppied the tcz for v8 and with .dep file
load it and its working manually
--- Code: ---sudo hostapd -B /usr/local/etc/config/hostapd.conf
tc@box:~$ ps | grep hostapd
1013 root hostapd /usr/local/etc/config/hostapd.conf
--- End code ---
Problem is when I want to run it automatically
--- Code: ---tc@box:~$ cat /opt/bootlocal.sh
#!/bin/sh
sudo hostapd -B /usr/local/etc/config/hostapd.conf
/usr/local/etc/init.d/openssh start &
--- End code ---
It wont autostart, dmesg show no info about hostapd
I obviously missing something...any clue ?
and I cant connect to hostapd AP yet
with open (no security) ..playing with it now..
thanks
--- End quote ---
/opt/bootlocal.sh is already run by root, remove the "sudo" from the file and reboot.
curaga:
..and if it still fails, look in its log file. You may need to enable syslog for the logs to appear.
aris:
Hi @polikuo
I used sudo because the non sudo is not starting hostapd..but sudo doesnt start it also
Here is the log...still no hostapd running
--- Code: ---ps | grep hostapd
1058 tc grep hostapd
cat /var/log/messages | grep Ather
Jan 1 00:12:49 box user.info kernel: ath5k: phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
cat /var/log/messages | grep hostapd
Jan 1 00:12:08 box authpriv.notice sudo: tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mkdir -p /tmp/tcloop/hostapd
Jan 1 00:12:08 box authpriv.notice sudo: tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mount hostapd.tcz /tmp/tcloop/hostapd -t squashfs -o loop,ro,bs=4096
Jan 1 00:12:08 box authpriv.notice sudo: tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/cp -ais /tmp/tcloop/hostapd/usr /
tc@box:~$ date
Sat Jan 1 00:14:57 UTC 2000
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version