Pwireless2 (Version 1.0)

Configuration wizards, scanners, remote desktop, etc.
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#226 Post by gyro »

jemimah wrote:How are these already defined?
By dhcpcd running on eth0.

gyro

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#227 Post by jemimah »

Pwireless2 definitely wants to be the only subsystem managing the network. It wasn't designed to be friendly to running multiple network tools at the same time.

Combining roaming and NAT is probably fairly complicated. The right thing to do in my opinion would be to add a sharing tab to Pwireless2 itself.

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#228 Post by gyro »

I ran my test again.
This time I started with no interfaces defined.
In Pwireless2 I configured eth0 as "auto DHCP", then tried to configure eth1 as 192.168.3.1, but it won't let me.

So for anyone wanting to use puppy as a router (Internet sharing), I suggest that you use the normal Internet Connection Wizard.

gyro

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#229 Post by gyro »

jemimah,

The way Pwireless2 currently functions is fine if there is only 1 real interface. But if you want Pwireless2 to be useful in configuring multiple interface situations, then I would suggest that changes are advisable.

The most likely explanation for puppy having more than 1 active network interface, is to run puppy as a router. In this case, a default gateway and DNS ip addresses, are required on 1 and only 1 of the interfaces, (the up-stream interface).
So if 1 of the interfaces is configured to use dhcp ("auto dhcp"), then all the other interfaces should be configured statically with just an IP address and a network mask.
But if all interfaces are configured statically, then 1 and only 1 interface should be configured with the extra information. (Although in this case I would be tempted to just leave all the fields available, and check none of them.)

gyro

gerry
Posts: 986
Joined: Thu 26 Jul 2007, 21:49
Location: England

#230 Post by gerry »

I'm using Pwireless2 1.0 in a Puppy 431 frugal on Acer Aspire One. I often find that when I boot up it does not connect. I start Pwireless2 from the menu, click roam, and no networks are found. Here's a work-around: click the Disconnect button, then click Roam. My network is displayed, click Connect, and off we go.

Is it supposed to work this way? One thing that occurs to me is that I have the router configured to auto-select the best channel. Does Pwireless2 catch up if the router selects a different channel from last time? Or does that happen in wlan0?

gerry

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#231 Post by jemimah »

It might be a timing issue. It's possible that Pwireless2 is starting before your wireless card is done initializing.

You can edit /etc/rc.d/rc.services and increase the delay to see if this is the problem.

gerry
Posts: 986
Joined: Thu 26 Jul 2007, 21:49
Location: England

#232 Post by gerry »

Thanks... 5sec was not enough, but 30sec works. Don't quite understand what's happening- when does the 30 seconds start? The connection seems to come up fairly promptly after the desktop is settled.

gerry

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#233 Post by jemimah »

It starts during boot when you see the message "starting services....backgrounded".

User avatar
chrismt
Posts: 255
Joined: Wed 21 Apr 2010, 04:37

#234 Post by chrismt »

I tried this app on Puppy 5.1.1

My First question is this:

Is there any difference between this version linked here and the app that is in the default Lucid repos in the Puppy Package Manager

And if the answer is Yes, which one is better

My Second question and bug is this:

Whenever I boot my PC, this version doesn't connect automatically

This gives me this error

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory.

So, everytime, I have to click restart wpa supplicant

My third bug and question is this:

I am unable to uninstall this

I uninstalled this from the PPM but when I reboot, I still see the app.

My Last question is this:

I read in the first post the following

So you should remove any profiles from Network Manager before installing the pet. After installing the pet, you should reboot, and everything should start up automatically.

How do I do it?

Thanks

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#235 Post by jemimah »

The one for Lupu uses the lupu versions of wpa_supplicant and dhcpcd. The pet for 4.2/4.3 contains it's own copy of the networking daemons.

I suspect your problem is similar to gerry's above and the solution is the likely same.


I have no idea why the package doesn't uninstall. if anyone knows what causes this problem, please let me know.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#236 Post by technosaurus »

Does the new vewsion support udhcpc/udhcpd from busybox?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#237 Post by jemimah »

I haven't tested it, but I doubt it.

Syntax would be easy to fix, but I'm guessing the busybox version is not nearly as smart as dhcpcd - possibly features that I count on would be missing.

I need the following:
autodetection of wired interfaces going up and down
ability to ignore specific interfaces
ability to assign static IPs

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

#238 Post by technowomble »

jemimah,

I had Pwireless2 working in Puppy 4.2.1 - see my earlier posts - but I'm not having any luck getting it working in Lupup. As pwireless2 is in the Lupup repro. I have to connect using network-wizard, ( I'm using a rt61 pcima wifi card ) install pwireless2, then remove my profiles from network-wizard and re-boot. Pwireless2 opens - from the menu entry - after a message that no wireless device is detected - but without any networks detected. When I click refresh or roam I get a flash that WPAsupplicant has started, then pwireless2 locks up and I have to use the ' kill ' option from the status bar. Interestingly, with pwireless2 installed a check for missing dependencies reports that ' something ' is missing libgio, though a search shows that all installed pets are not missing anything, and libgio is present in /usr/lib. It looks as if something is broken, do you or 01micko have any ideas? Could i try your original pet in Lupup, as I know that worked OK with my card?

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#239 Post by jemimah »

You can try it. Although be warned Chrismt mentioned that it did not uninstall cleanly. So use a throw away save file.

It may also work better if you download Pwireless2 first so you never have to connect with the network wizard.

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

#240 Post by technowomble »

I'm not sure what I did right this time jermimah, but pwireless2 ( the lupup version ) worked OK. Possibly before I didn't remove all the profiles in network-wizard, there seemed to be more than I remember in 4.2.1. :oops:

Anyway, here's what I did, in case anyone else is having the same problem.
1: Connect using network wizard, then click ' this boot only ', click ' cancel ' when asked if you want to make it default connection.
2: Install pwireless2 from PPM
3: Remove all profiles from /etc/network-wizard.
4: Reboot, click 'connect ' and pwireless2 will be in the second menu, opened by selecting type of connection.
5: Select pwireless2 and it will open with a list of available networks - you know which is yours I hope :D

thatsithguy
Posts: 2
Joined: Tue 21 Sep 2010, 04:54

WPA2- enterprise

#241 Post by thatsithguy »

I am currently in college and the network is secured with a wpa2- enterprise encryption. I currently am unable to connect to the network. Is there a fix for this?

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

Re: WPA2- enterprise

#242 Post by technowomble »

thatsithguy wrote:I am currently in college and the network is secured with a wpa2- enterprise encryption. I currently am unable to connect to the network. Is there a fix for this?
According to the initial release announcement ( see page 1 of the thread ) pwireless2 originally did not have support for wpa2-enterprise, but on her previous track record jermimah will be looking into it as soon as she sees your post. :) I've never had to connect to a wpa2-enterprise network, so I'm guessing, but can the ordinary network wizard connect? I know it can handle wpa and wpa2, although that's not innediately obvious from the GUI.

thatsithguy
Posts: 2
Joined: Tue 21 Sep 2010, 04:54

#243 Post by thatsithguy »

I think the problem is that the network requires a password and a username.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#244 Post by jemimah »

The question is, does it also require a certificate?

That's the part Pwireless2 does not support - except if you edit the wpa_supplicant configuration by hand.

TeviotYandara
Posts: 1
Joined: Fri 01 Oct 2010, 15:07
Location: Plymouth - Devon - UK

WPA - Enterprise

#245 Post by TeviotYandara »

Hi there,

I've been using Pwireless 2 to connect to my University network for a good 6 months or more now.

The wpa-supplicant file needs to be manually edited, I think I allowed Pwireless 2 to try to connect to the network in order to create a block of code for editing, then used the setup data the Uni provided to edit it.

The code looks like this, you just need to put in the appropriate network ID and password parameters, and the SSID as required.

Network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="[your network ID]"
password="[your password]"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"

Hope this helps.

Post Reply