Joined: 20 Dec 2007 Posts: 428 Location: Staffordshire
Posted: Wed 30 May 2012, 16:57 Post subject:
Most of it will have to be done manually.
I got wireless working on pupngo by first setting it up on the standard 412 (or a barebones version) that pupngo is (mainly) based on.
Copied the required driver and other binaries, config files etc and put them in a sfs (or can be added to main sfs) with a script I found in the forum to set it all up (very minor changes by me) :
Code:
#!/bin/sh
## modify this script to include your wifi interface name (instead of "ath0")
## and wifi driver type (instead of "madwifi").
# Orginal script was provided by Tempestuous and modified by JustGreg for
# his network use. Modified 12 May 2008 for testing of Dingo kernel 2.6.25
echo "Configuring Wireless LAN with wpa_supplicant"
## bring up the wireless interface, unconfigured
echo
echo "Starting up wlan0"
ifconfig wlan0 up
echo " "
echo "Now starting wpa_supplicant"
## first remove stale wpa_supplicant file if it exists
if [ -e /var/run/wpa_supplicant/* ]; then rm /var/run/wpa_supplicant/*; fi
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -qq -B
# sleep 60 used for testing. For normal use, sleep 60 can be reduced
sleep 20
echo " "
# wp_cli is for testing. However, it does show that wpa connect for
#normal use.
#wpa_cli status
echo " "
echo "Running dhcpcd address service"
## for automatic IP
## first remove stale existings dhcpcd files if exists
# for puppy 2.17 use if [ -e /var/run/*.pid ]; then rm /var/run/*.pid; fi
# for puppy 3.00. Kill any active dhcpcd processes
dhcpcd -k wlan0
if [ -e /var/run/*.pid ]; then rm /var/run/*.pid; fi
rm /var/run/dhcpcd-*.*
dhcpcd -t 30 -h puppypc -d wlan0
sleep 5
## or for static IP
## modify /etc/resolv.conf to include your nameservers
#ifconfig ath0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0
#route add default gw 192.168.0.1 ath0 # or whatever your router's IP is
echo
echo `ifconfig wlan0 | grep '\<inet\>' | sed -n '1p' | tr -s ' ' | cut -d ' ' -f3 | cut -d ':' -f2`
I managed it initially by trial and error - went for the kitchen sink approach to start with (copied anything vaguely wireless related) then whittled it down.
I'm sure you'll get there quicker than I did, and there are enough people who know more than me who can help.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum