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 Sat 28 Feb 2015, 19:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Puppy as a wifi access point - OLD !!
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Author Message
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 17 Sep 2011, 12:27    Post subject:  

ok tempestuous now we have to make it so that some thing like this free app can be used on the wifi
http://ardrone.parrot.com/parrot-ar-drone/usa/ar.free-flight-for-android
here is the plane that it flys
http://shop.singahobby.com/?q=node/26668

for now just something that responds via wifi from puppy is the goal not necessarily a flying thing, some thing simple like an off /on switch on an appliance would be an achievement.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Last edited by aarf on Sat 17 Sep 2011, 19:42; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 17 Sep 2011, 13:02    Post subject:  

i think this wifi interaction capability is kernel dependent. which kernels i don't know.
i think just need something like this
http://shop.singahobby.com/?q=node/27183
and this http://shop.singahobby.com/?q=node/27530 to start playing. (plus a lot of knowledge which can be acquired for free.)

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5336
Location: Australia

PostPosted: Sun 18 Sep 2011, 03:04    Post subject:  

aarf wrote:
ok tempestuous now we have to make it so that some thing like this free app can be used on the wifi
http://ardrone.parrot.com/parrot-ar-drone/usa/ar.free-flight-for-android

That's interesting, but it bears no relevance to wifi hotspots.


aarf wrote:
i think this wifi interaction capability is kernel dependent.

Well "interaction" can mean many things. In terms of communication method, that's easy; it's ad-hoc wifi, as explained here -
http://ardrone.parrot.com/parrot-ar-drone/uk/support/questions-answers
And ad-hoc wifi is quite easy in Linux, howto here -
http://www.murga-linux.com/puppy/viewtopic.php?p=159929#159929

But in terms of porting the AR.FreeFlight application to Linux, wow, that would take some effort, especially in terms of reading all the motion and camera data, then displaying it on the Linux X server.
Back to top
View user's profile Send private message 
Atle

Joined: 19 Nov 2008
Posts: 299
Location: Oslo, Norway

PostPosted: Sun 18 Sep 2011, 03:58    Post subject:  

What about just keeping a focus on how people can communicate in case the internet is shit down by our great leaders?

This is a aspect no one really discuss here.

So I am back to my Joomla stuff again. If internet is shut down. Can one somehow use such a technology as discussed here to build local Wifi net in cities etc?

Any views on this?

The thing is... If this Hostap was integrated so that a maximum number of cards and technologies was covered(maybe a multiboot CD with the 3 linux Wifi drivers represented) and it was set up as a system where you SPREAD the technology, so that people can log on to your APs server and download Puppy with the HostAP, so that they can "extend" the range of the network? In such a Puppy the Joomla(or any other technology) could have a lot of "howto's) on WifFi antennas and tricks to extend the range of your Wifi etc.

Call it "WarPup" or whatever:-)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 18 Sep 2011, 10:32    Post subject:  

went to play with some prospective android phones today and discovered that touch phones are only for the fingernail challenged. Crying or Very sad i don't know if i can do without that fashion statement. it will be a traumatic decision.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 21 Nov 2011, 17:02    Post subject:  

tempestuous

see this thread, for similar possibilities, with mesh networking, where bridging is/can be used

http://www.murga-linux.com/puppy/viewtopic.php?t=72521&start=30

also http://wiki.freifunk.net/Hauptseite

Aitch Smile
Back to top
View user's profile Send private message 
Atle

Joined: 19 Nov 2008
Posts: 299
Location: Oslo, Norway

PostPosted: Mon 12 Mar 2012, 12:04    Post subject:  

How about making a "proof of concept" Live CD, whereas the objective is to be able to boot from a live CD and your Wlan turns into a AP and the content is RapNews???

Anyone in for that? I can try to make the Puppy wished for by the one that can do the teckie stuff related to Wlan decides, and have a LHMP enabled Puppy XXX tanked up with LHMP and the RapNews content. They are scheduled to release a new broadcast this week about Kony 2012 and they have a large group of fans that would love such a item to broadcast locally at their school or neighborhood.

Just as a proof of concept if one could make "instant broadcast Puppy"

Laughing
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
RickT2012

Joined: 29 Jun 2012
Posts: 1

PostPosted: Fri 29 Jun 2012, 12:26    Post subject: Will the instructions in this post still work in 5.3?  

I didn't find a follow-up post in searching the site -- were the changes between 5.2 and 5.3 enough that I shouldn't expect the instructions and attached dotpet files to work any longer?
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Mon 06 Aug 2012, 11:50    Post subject:  

cross reference to shareinternet.pet
http://www.murga-linux.com/puppy/viewtopic.php?t=37520

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3900
Location: Mer méditerrannée (1 kms°)

PostPosted: Sun 28 Dec 2014, 14:10    Post subject: French translation being deleted after test in use
Subject description: for transfer to french forum
 

INSTRUCTIONS:
i) Installez les pets hostapd et bridge-utils.
ii) Installez aussi un des pets madwifi si vous avez un Atheros AR512x wifi device (PCI or PCMCIA), et rebootez.

Définissez :
- Comment allez-vous appeler votre point d’accès - ce sera le SSID.
- si vous voulez un cryptage WPA or WPA2 , ou pas de cryptage.
- Si Cryptage, quelle passphrase. Il vous faudra convertir l’ASCII passphrase choisie dans sa valeur hexadécimale 64 digit avec la commande -

Code:
wpa_passphrase <ssid> <passphrase>

Tous ces paramètres doivent être enregistrés dans /etc/hostapd.conf
J’ai pre-configuré un SSID "Puppy_Hotspot", avec WPA2 encryption, avec la PSK passphrase "woof1234".
Vous n’aurez rien à changer si vous utilisez ma configuration
Regardez toutefois /etc/hostapd.conf dans Geany juste pour voir de quoi je parle. J’ai commenté le PSK password (woof1234) et utilisé la valeur hexadécimale de la passphrase, calculée comme expliqué plus haut.

Notez la valeur de WPA2 encryption: "wpa_pairwise=CCMP"
Pour utiliser la vieille valeur WPA encryption, tapez : "wpa_pairwise=TKIP"
Si vous ne voulez pas de cryptage, tapez "wpa=0"
For the hostap_pci/hostap_cs drivers, changez "interface=ath0" en "interface=wlan0", et changez "driver=madwifi" en "driver=hostap", et changez "hw_mode=g" en "hw_mode=b".


Connectez maintenant votre ethernet interface to some form of modem/router. Ce sera la internet connection que vous partagerez via votre wifi interface.
Si vous aviez configuré votre ethernet interface avec Puppy's Network Wizard, il faut éliminer la configuration :

Code:
ifconfig eth0 down

Vous devez éliminer le dhcpcd daemon - TRES IMPORTANT.
Dans le Menu > System > System Status and Config > Pprocess process manager, vous devriez trouver "dhcpcd -d -l eth0"
Selectionnez-le, et cliquez "End process"
Otez le fichier stale dhcpcd run avec cette commande -

Code:
rm -f /var/run/dhcpcd-eth0.*


Changez votremode wifi driver "Station/Managed" mode en "AP/Master" mode -

Code:
ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap

Pour les hostap_pci/hostap_cs drivers, faire
ifconfig wlan0 down
iwconfig wlan0 mode Master

Ensuite bridgez your ethernet interface sur votre wifi interface :

Code:
ifconfig eth0 0.0.0.0 up
ifconfig ath0 0.0.0.0 up
modprobe bridge
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 ath0

Pour les hostap_pci/hostap_cs drivers, changez "ath0" en "wlan0".
Votre Puppy computer est reconnu sur le LAN par sa bridged interface: br0.
En theory donner une IP address à votre Puppy computer pour sa bridged interface n’est pas obligé mais en practique c’est essentiel. Faites ceci :

Code:
rm -f /var/run/dhcpcd-br0.*
dhcpcd -t 30 -h puppypc -d br0

I found that this may take 15 seconds or so! dhcpcd seems to struggle with a "br0" interface.
Various code will run by, and eventually you should see "...forking to background".


Vous voilà prêts à lancer le hostapd daemon

Code:
hostapd /etc/hostapd.conf -dd

Les deux dernières lignes que vous verrez seront :
"ath0: Setup of interface done.
l2_packet_receive - recvfrom: Network is down"
Ne vous affolez pas, c’est réussi.

Tout wifi client pourra se connecter à votre Puppy access point.

Bonne nouvelle j’ai créé un script dans /usr/bin appelé "Wifi-AP-launch.sh"
Obviously you can run this script from an rxvt terminal, but better still, I have created a desktop launch-script called "Wifi-AP-launch". With ROX, go to /usr/bin and drag the icon for "Wifi-AP-launch" (not Wifi-AP-launch.sh") onto the desktop. This is ready to go, but it has a generic icon. To give it a nice icon, right-click it, select File 'Wifi-AP-launch' > Set Icon...
and this will present a window. Use ROX to drag /usr/local/lib/X11/pixmaps/Wifi-AP-48.png into the window.
Done!

UPDATE: just because your Puppy computer is now a wifi Access Point, don't assume it's acting as a router ... it's not. See my later post about router/server/network considerations -
http://www.murga-linux.com/puppy/viewtopic.php?p=551738#551738

_________________
Dr Exclamation Pelo : qui va Puppy va sano. .

Last edited by Pelo on Sun 28 Dec 2014, 15:28; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 3900
Location: Mer méditerrannée (1 kms°)

PostPosted: Sun 28 Dec 2014, 15:22    Post subject: wlanconfig : command not found
Subject description: precise 5.4.3 (retro)
 

wlanconfig : command not found
should it be "iwconfig"

# hostapd /etc/hostapd.conf -dd
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
rmdir[ctrl_interface]: No such file or directory

_________________
Dr Exclamation Pelo : qui va Puppy va sano. .
Back to top
View user's profile Send private message Yahoo Messenger 
tempestuous

Joined: 10 Jun 2005
Posts: 5336
Location: Australia

PostPosted: Mon 29 Dec 2014, 22:51    Post subject:  

Pelo wrote:
wlanconfig : command not found

"wlanconfig" is a wifi configuration utility unique to the old "ath_pci" wifi driver. This driver, and the associated wlanconfig, are no longer contained in modern Puppy versions.
Clearly, a more recent package is required ... and the necessary update is mentioned in the very first post in this thread -
tempestuous wrote:
Important Update Feb 2013:
This package updated for Slacko 5.4 here -
http://www.murga-linux.com/puppy/viewtopic.php?t=84269
All wifi drivers are now supported, not just the ath_pci and hostap drivers.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
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.0878s ][ Queries: 13 (0.0050s) ][ GZIP on ]