Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Sep 2014, 12:01
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
pUPnGO with Wireless on a Thin Client
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
puppyuser7

Joined: 30 May 2012
Posts: 1

PostPosted: Wed 30 May 2012, 15:51    Post subject:  pUPnGO with Wireless on a Thin Client  

Hey all, I'm trying to get pUPnGO up and running with wireless on a USB for an old thin client that will be used primarily for running cron jobs 24/7.

I don't need a GUI, everything done from the command line is fine, just will be running cron jobs.

Any tips/suggestions?
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2452
Location: near here

PostPosted: Wed 30 May 2012, 16:55    Post subject:  

hi PuppyUser7,

Welcome to the kennels.

the following topic may be of use-

How to configure wifi from the commandline
http://murga-linux.com/puppy/viewtopic.php?t=22469

Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 628
Location: Staffordshire

PostPosted: 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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0450s ][ Queries: 11 (0.0029s) ][ GZIP on ]