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 Thu 24 Apr 2014, 01:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
WAG-0.2.2.pup Wireless Access Gadget
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Author Message
keenerd - modified
Guest


PostPosted: Tue 16 Aug 2005, 13:15    Post subject:  WAG-0.2.2.pup Wireless Access Gadget  

Made a few minor improvements over 0.2.1, mainly to make scanning for networks easier. Just two clicks to connect to any open network. The biggest change is installation: I finally got around to making a dotpup that auto-installs to the roxapps folder.

I've been releasing a new version a day, and I think that's over. I'm happy with the interface and everything works. It will be a few weeks until version 0.3.0 comes out.

Has anyone had success with WAG? I know there have only been about a dozen downloads so far, but most of the downloads were the completely broken first version. Kind of surprised no one said anything about it....
WAG-0.2.2.pup
Description  Think of it as poor man's NetStumbler
pup

 Download 
Filename  WAG-0.2.2.pup 
Filesize  7.88 KB 
Downloaded  1341 Time(s) 
Back to top
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 16 Aug 2005, 13:30    Post subject:  

Have placed it here:

http://www.goosee.com/puppy/wikka/LatestNews

Is it some sort of wireless port scanner . . . seems to be. If you have wireless - now is your chance. Show us Puppy connected outside the Sidney Mozilla House (It has been renamed from Opera) . . .

Stay Frisky! Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Tue 16 Aug 2005, 23:15    Post subject:  

This is exactly what I have been looking for. Now if I could get it to do something. It dosn't seem to want to launch. Confused Perhaps need to upgrade to 1.0.4?
_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10691
Location: Arizona USA

PostPosted: Wed 17 Aug 2005, 02:51    Post subject: Re: WAG-0.2.2.pup  

keenerd wrote:
Has anyone had success with WAG? I know there have only been about a dozen downloads so far, but most of the downloads were the completely broken first version. Kind of surprised no one said anything about it....
There is nothing I can see that says in plain language what it is or what it does or what it's for. Maybe no one has downloaded it because they can't tell they need it. Smile (Would a small screen shot be enough to sell it?)
Back to top
View user's profile Send private message 
keenerd
Guest


PostPosted: Wed 17 Aug 2005, 07:39    Post subject:  

Peppyy, I see no reason why it wouldn't work on older versions of puppy. It should at least load no matter what. Scaning really just comes down to features supported by your wireless card. I assumed you configured as per the instructions in the README?

Quote:
Shift left click on the WAG icon to open (not run) the Rox App.
Shift left click on the script called AppRun to open in a text editor.
Near the top you will see 'User Configured Data'.
Set CARDSOC to the socket number your Wifi card uses (usually 0 or 1).
Set WLAN to the name of your Wifi card (usually wlan0, eth0, ath0).
If you have to load a (single) module such as ndiswraper, enter its name
in MODDATA.
Set WIFIIP to your preference of IP address. It will be used whenever
possible.
Finally, there is a user customizable button in the WAG interface.
When clicked, it will run a script in the WAG directory called 'manuwifi'.
By default the button is called 'User Script' and the script contains a
template for connecting to a single encrypted access point. However, it
can also be used to store a single gateway and DNS configuration.


And here is the section on what to do if it doesn't work:

Quote:
WAG may not work with you wireless card or drivers. It was written
by one guy with one PCMCIA card and three different drivers, so it is
likely to not work for you. If WAG doesn't work, or presents you with
incorrect diagnostic information, first check to make sure you properly
entered your configuration. You didn't make any mistakes, you'll need to
post some information in the Puppy Linux forum. Tell me what was
supposed to happen and what actually happened. Tell me what you must
type in manually to form a connection. Mention what you have set the user
variables to. What do you have in rc.local to make wifi work? Most
importantly, open the WAG folder and run the 'debug' script. It will
generate a file (debug.txt) that I must have in order to make WAG work
for you.


I did post screenshots, back on the release of WAG-0.2.0, so they are now a little dated. They are still relivant, just not entirely accurate.

<a href="http://img247.imageshack.us/my.php?image=wag1broke6rl.gif" target="_blank" class="postlink"><img src="http://img247.imageshack.us/img247/8216/wag1broke6rl.th.gif" border="0" /></a>
The main diagnostic window. Something is not quite right with the card, let's click 'Reseat'

<a href="http://img247.imageshack.us/my.php?image=wag2connect2pa.gif" target="_blank" class="postlink"><img src="http://img247.imageshack.us/img247/9186/wag2connect2pa.th.gif" border="0" /></a>
Autoconnection made to my test AP. It's not connected to the internet, but normally you would click 'Dhcp Toggle' next.

<a href="http://img247.imageshack.us/my.php?image=wag3scan3lf.gif" target="_blank" class="postlink"><img src="http://img247.imageshack.us/img247/879/wag3scan3lf.th.gif" border="0" /></a>
Scanning for networks, just click a Cell and go.[/quote]
Back to top
keenerd
Guest


PostPosted: Wed 17 Aug 2005, 07:47    Post subject:  

Oops. Maybe I should finally register so I can edit mistakes like that. Or use the nifty preview button.


Full size:http://img247.imageshack.us/my.php?image=wag1broke6rl.gif
The main diagnostic window. Something is not quite right with the card, let's click 'Reseat'


Full size:http://img247.imageshack.us/my.php?image=wag2connect2pa.gif
Autoconnection made to my test AP. It's not connected to the internet, but normally you would click 'Dhcp Toggle' next.


Full size:http://img247.imageshack.us/my.php?image=wag3scan3lf.gif
Scanning for networks, just click a Cell and go.
Back to top
moritzes

Joined: 11 Aug 2005
Posts: 20
Location: Akron, OH

PostPosted: Wed 17 Aug 2005, 10:52    Post subject:  

This is cool.

But install text has some problems.
First, I think you need to insert lines:
Code:
mkdir /root/my-roxapps/WAG
mkdir /root/my-roxapps/WAG/Help

as the first lines of the body of dotpup.sh
'Cause when I first installed the dotpup, I got nothing. I don't think the -f option of cp actually creates the directories if they are not already there.

Second, you need to move the version info from the top of README to the bottom, so that what first pops up are the config instructions. As it is, if you don't know what to look for, that first README screen brought up by xmessage looks like it is complete--until you see the scroll bar on the right side. So you just hit "okay" without figuring out anything! With other dotpups most of us are used to stuff showing up in the Start menu (first place I looked was Start/Network), and we don't know where to look for this. (Can't count on us to go back and read all of the forum posts!) Even better would be to have the install stick an icon in Start/Network, but you might want to wait until it's working a little better first.

At this point, I would alter the README slightly to make things more clear. In addition to moving the version info to the end, how about starting with:
Code:
WAG - Wifi Access Gadget
Use on laptops in order to easily insert and eject your wireless card.
Connect to unencrypted networks with two clicks.

WAG REQUIRES A WORKING WIFI CARD!
If you're tired of typing the same commands
every time you lose your connection, then WAG is for you!
[If you don't know exactly what must be typed in to make you wifi work,
do not use this software yet.  Instead, try first to get wireless up using the info here:
http://www.murga.org/%7Epuppy/viewtopic.php?t=1700&highlight=wifi]


WAG MAY NEED TO BE MANUALLY CONFIGURED!  Try it out first (by left-clicking on the WAG icon in /root/my-roxapps), but if that doesn't work, come back to this README (/root/my-roxapps/WAG/Help/README) and:

1) Shift left click on the WAG icon to open (not run) the Rox App.

2) Shift left click on the script called AppRun to open in a text editor.

... blah blah blah


You should also put a "README" button on the main screen to make it easy to get back to README.

Whew. And you were worried about not getting any comments yet. Wink Exclamation
Unfortunately, my neighbor's AP seems to be down right now, so I haven't been able to test other functionality, but it connects me to mine right away. I'll take it out sometime and try some more, but I think it can be a really helpful tool.

Edit: now 3 neighbors have AP's up, but only 1 is open and I'm not getting an IP address. Still, this is good. I'll try some more stuff when I get a chance. Nice work so far, though!
Back to top
View user's profile Send private message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Wed 17 Aug 2005, 15:15    Post subject:  

All I can get no matter how I click on it is the following in beaver.

Code:
#!/bin/sh

# If the autowifi script isn't sufficient,
# or you need to run random commands at random times
# then place those commands here
# they will be run whenever you press the custom button

iwconfig wlan0 key *** essid *** mode managed channel **


I downloaded an older version WAG-0.2.1.gz and although it had some errors I was able to get it to start. That one will give me an xmessage box with option buttons and the following.

Code:
wireless card not active
wireless card not responding
                                                           
no module loaded
dhcpcd running
wifi-beta installed

ath0 disabled
no IP assigned to ath0
ap test failure
internet ping sucessful

0 wireless network(s) detected


I guess since puppy sees my orinoco as eth0 it must treat it as a wired network card?

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
moritzes

Joined: 11 Aug 2005
Posts: 20
Location: Akron, OH

PostPosted: Wed 17 Aug 2005, 16:00    Post subject:  

You can use eth0 with WAG, just have to reconfigure.

Download the new dotpup again.
Don't click on it!!
Rather, first create directories:
Code:
mkdir /root/my-roxapps/WAG
mkdir /root/my-roxapps/WAG/Help


Then click. You should end up with files in the above directories.

(Alternatively, just use TkZip to unzip the pup file and put the files where they need to go themselves. The dotpup.sh file tells you where to put them.)

Go into WAG directory (by shift-left-clicking on WAG icon at /root/my-roxapps/ or right-clicking on the icon and selecting "look inside")
You will need to edit the AppRun file as text. Define WLAN = 'eth0" rather than wlan0.
(Now that you have unpacked the files, you should also have access to the readme file, which should help.) Save the AppRun file and click on the WAG icon in /root/my-roxapps. What happens?

Based on your post in the other thread, this IS exactly what you need; just need to get it working!

Post back here once you get the thing unpacked and have started tinkering with the app-run file.
Back to top
View user's profile Send private message 
keenerd
Guest


PostPosted: Wed 17 Aug 2005, 16:40    Post subject:  

I've implemented moritzes's suggestions. I'm also working on Bladehunter's recommendation - pulling the wireless interface from /proc/net/wireless

If I can get that to work, this might go without configuration.
WAG-0.2.3.pup
Description 
pup

 Download 
Filename  WAG-0.2.3.pup 
Filesize  7.51 KB 
Downloaded  2122 Time(s) 
Back to top
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Wed 17 Aug 2005, 20:28    Post subject:  

Ok, I created the directorys and ran the latest version. Read the xmessage.
Quote:
Try running it by left-clicking on the WAG icon in /root/my-roxapps

I did not have a WAG icon. I had AppRun, debug and manuwifi, debug.txt and display.txt in the directory WAG but nothing in my-roxapps eccept the directory I made. I restarted and there it was.

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
moritzes

Joined: 11 Aug 2005
Posts: 20
Location: Akron, OH

PostPosted: Thu 18 Aug 2005, 00:46    Post subject:  

Your "directory" WAG is probably a ROX application. (Right-click the icon and select "info" to check.) It would look like an application if you assign the /root/my-roxapps/WAG/.DirIcon to it. (Don't miss the "." in that address; the icon is hidden.) [Need to fix that in the pupget.sh, keenerd. Nice icon BTW]

At any rate, even if assigning the icon somehow doesn't work, left-click AppRun to run the program. (First modify the AppRun text as mentioned above, of course.) What do you get? If you get an xmessage and some choices, try the scan button and see if you can see all the nearby networks. You are very close, I think. Very Happy
Back to top
View user's profile Send private message 
keenerd
Guest


PostPosted: Thu 18 Aug 2005, 07:57    Post subject:  

Wow, I can not make a roxapp to save my life. I (thoroughly!) looked over everything, and the only flaws I could find were making the WAG folder a second time instead of creating the help folder. I also had a typo which excluded the (unused) autowifi script from the dotpup. I had zero trouble with the icon.

Until I learn to take my time, it looks like this will always be a buggy beta.
Back to top
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Fri 19 Aug 2005, 10:56    Post subject:  

I must still be doing something wrong or my card is not supported. I tried it on another running ndiswrapper with a linksys, a gigabyte and an oriunoco a/b and I couldn't get it to see those either even though they were connected.

I will check it out some more when I get a chance.

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
keenerd
Guest


PostPosted: Fri 19 Aug 2005, 15:20    Post subject:  

I've made a slew of small improvements. Increased speed, decreased disk access, and a much more user friendly installation process. The wireless interface is detected automatically. There is even an included mini-utility to help determine which socket you are using. Basically, the dotpup does much more handholding than ever before. And the installer is (finally) bug free.

Oh, Peppyy, it sounds like you didn't enter the socket number of your wifi card. Previously, you've said you use socket 1, and the WAG default is socket 0. One other thing: You have three wireless cards!? Could you please run the debug script in the WAG folder once for each card and send me the results? I need to see how a variety of cards function.
WAG-0.2.4.pup
Description  A wifi connection GUI
pup

 Download 
Filename  WAG-0.2.4.pup 
Filesize  8.94 KB 
Downloaded  565 Time(s) 
Back to top
Display posts from previous:   Sort by:   
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0905s ][ Queries: 13 (0.0080s) ][ GZIP on ]