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 30 Aug 2014, 10:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO 2012
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 8 of 27 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 25, 26, 27 Next
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Sun 07 Oct 2012, 15:16    Post_subject:  

Do not know about the wifi-driver thing...If driver present and recognized (including firmware drivers) they are normally loaded during boot...If the extra driver are not present at boot but installed after boot they might not be picked up - but unsure how to get you further there. I think if the right drivers are loaded ifconfig/iwconfig will give you some response...
I have the SNS--retro working with pupngo2012 on an asus eeepc900 and on stationary pc with usb-zd1211 wireless-stick. Also the wired network adapters on both machines are recognized and connected.

For blinky add the below to /root/.jwmrc-tray
Code:
<Swallow name="blinky">
blinky -bg "#DCDAD5"
</Swallow>
just after the pmfree swallow line
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4347

PostPosted: Sun 07 Oct 2012, 16:03    Post_subject:  

if anyone is looking to do a no-rox version, I wrote some C that checks file extension and gives you the MIME-type:
http://murga-linux.com/puppy/viewtopic.php?t=80916
These are the ones that (by default - not necessarily in pet packages) are semicolon separated in .desktop files as
MimeType=application/vnd.ms-asf;application/vnd.rn-realmedia;...

You can just grep `mimetype $filename` /usr/share/applications/*.desktop to find which programs can run it.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2502
Location: New Zealand

PostPosted: Sun 07 Oct 2012, 18:26    Post_subject:  

starhawk wrote:
/dev/wlan0 doesn't exist so that may be part of the issue.

Does it maybe show up as an ethx instead of wlanx?
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4347

PostPosted: Sun 07 Oct 2012, 19:06    Post_subject:  

it could be ath0 on this older kernel too, may be a good time to try a later LTS kernel (2.6.32?)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
starhawk

Joined: 22 Nov 2010
Posts: 2834
Location: Everybody knows this is nowhere...

PostPosted: Sun 07 Oct 2012, 19:48    Post_subject:  

All that shows up is lo. No eth0, no wlan0, and no ath0.

...of note, the Dell C600 (it's xvesa friendly Wink ) I used this time has no ethernet connector IIRC. (The CPi doesn't either.)

I think we need a copy of the "wireless module loader/tester" from Classic Network Wizard. I'd say port the whole thing over... but it's a goodly bit bigger, to say the least.

Unfortunately, I have no idea if it's one single script or a collection. I suspect one single script, which will make lifting out the loader-tester portion that much harder. I'd have to go looking to be sure tho.

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2502
Location: New Zealand

PostPosted: Mon 08 Oct 2012, 00:43    Post_subject:  

starhawk wrote:
All that shows up is lo. No eth0, no wlan0, and no ath0.
What responses do you get to the following commands:

ifconfig eth0 up
ifconfig eth1 up
ifconfig wlan0 up

and does "ifconfig" show any change after each of those? Also, goingnuts suggested to me to "Try to look in /tmp/interfaces to view what interfaces was found". Does that contain any info? If not, does anything show there after you try to run the wireless manager wizard?
Back to top
View user's profile Send_private_message 
starhawk

Joined: 22 Nov 2010
Posts: 2834
Location: Everybody knows this is nowhere...

PostPosted: Mon 08 Oct 2012, 13:08    Post_subject:  

ifconfig [device] universally returns:

ifconfig: SIOCGIFFLAGS: No such device

/tmp/interfaces does not exist, as a file or directory. /tmp/ has a number of files, but the only directory is /tmp/.X11 . (I assume it is not to be a file? There isn't one with that name anyways.)

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2502
Location: New Zealand

PostPosted: Mon 08 Oct 2012, 14:17    Post_subject:  

starhawk wrote:
ifconfig [device] universally returns:

ifconfig: SIOCGIFFLAGS: No such device

Is the behaviour identical depending on whether you boot with the usb network adapter already installed, compared to if you plug it in after boot?

Any chance of plugging in a pcmcia network card to compare results?
Back to top
View user's profile Send_private_message 
starhawk

Joined: 22 Nov 2010
Posts: 2834
Location: Everybody knows this is nowhere...

PostPosted: Mon 08 Oct 2012, 14:30    Post_subject:  

Burnt a closed CD, and this laptop does not have a hard drive -- and it has only one USB port, and my experience with pUPnGO is that it does not like hubs. So no savefile.

I could remaster it with Woofy to include the pet so that I could boot with it like that, but I'm getting low on CD-Rs (again) and the local stores do not sell -RW discs Sad

So the in-there-at-boot-time test will have to wait.

As for your other question... I do have an old Prism2 card out of a router that I can try... it's Wifi "b" rather than "g" but I don't think it'll slow the entire network to a crawl if I use it... just the one connection. Let me go see if I can find it, and I will try it. That I *can* install before booting.

EDIT: nada. Although I may have an idea of the issue... the SNS shell script (as carried over into SNS-Retro) references a file I did not know about listed as /etc/simple_network_setup/connections . I will try to hunt down this file and see if adding that in fixes things.

EDIT: looks like /etc/simple_network_setup/connections is /generated/ by SNS. Either way, copying it over from Puplite 5 does not appear to affect anything. My best guess is that there is some module-chaining not going on. Perhaps modules.dep is not being properly altered with the drivers sfs? (I suspect this because I ran into some errors with that while trying to manually load various modules.)

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Mon 08 Oct 2012, 16:21    Post_subject:  

starhawk: You really are working hard on this! Sorry the network does not turn out as we hoped - I looked into the traditional network-setup script but it might not solve the problem to port it - and it will be a huge work to do. I don't think there was a "pUPnGO-2012-compliant" sticker on your hardware when you got it... Smile
I will try to cut out the module loading/testing part from the old network setup script but it might take a while before I can post it...
Do you have a USB-wireless adapter? If so it might be worth a try...
Back to top
View user's profile Send_private_message Visit_website 
starhawk

Joined: 22 Nov 2010
Posts: 2834
Location: Everybody knows this is nowhere...

PostPosted: Mon 08 Oct 2012, 16:54    Post_subject:  

Thanks Very Happy

First three attempts were with USB "cards" (dongles).

Netgear WG111v3 = rtl8187
Rosewill* RNX-N150UBE = r8712u
Rosewill* RNX-EasyN1 = rt2800usb

PCMCIA/Cardbus cards...
Gemtek WL-216C** = hostap / orinoco ***
Belkin F5D7010v8 = ath5k / madwifi #

* Rosewill is the generic 'store brand' of Newegg[dot]com.
** This card is from a D-Link router. A friend gave me the card; apparently it was not the cause of his router's demise.
*** Tried both drivers, no go.
# Madwifi (ath_pci) does not load in pUPnGO, complains that ath_pci is not found in modules.dep -- editing that file to fix, causes other different errors (probably loading/chaining modules in wrong order so it errors out).

All driver information from WikiDevi. They have some REALLY nice and useful info!

One other thing: rc.pcmcia might be faulty -- I had problems with a USB hub cardbus card at one point -- just that it wouldn't recognize. I blamed it at the time on the fact that it was during my one USB boot, BUT we might have a problem there after all. (Or not. I don't know for sure!)

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 622
Location: Staffordshire

PostPosted: Mon 08 Oct 2012, 17:05    Post_subject:  

starhawk
Might be a firmware problem. Try running the firmware installer from the menu.
If no joy, try unpacking the tarball in /lib/modules/all-firmware/ AND putting the firmware files in /lib/firmware/###/
Then stand on one leg, rub your belly and sing "My Old Man's a Dustman" in Kurdish.
YMMV
[/b]
Back to top
View user's profile Send_private_message 
starhawk

Joined: 22 Nov 2010
Posts: 2834
Location: Everybody knows this is nowhere...

PostPosted: Mon 08 Oct 2012, 17:08    Post_subject:  

You're funny!

What the heck does that firmware-installer do that modprobe doesn't?

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 622
Location: Staffordshire

PostPosted: Mon 08 Oct 2012, 17:25    Post_subject:  

Sometimes firmware does not get installed properly - don't really know why, and it is not exclusive to pupngo. I had problems with my pcmcia card which use the b43 module.
If the firmware installer does not identify your module, check
/etc/modules/firmware.dep.2.6.25.16, and see if it is listed. It can be added manually if needed. But you may have to practice your Kurdish...
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2502
Location: New Zealand

PostPosted: Tue 09 Oct 2012, 14:50    Post_subject:  

starhawk - When you insert/remove your wireless interfaces do you see those changes reflected in Dmesg? Also, I guess the pcmcia interfaces may be detected differently depending on whether the port is set for cardbus or 16bit - does your bios offer any control of that?

I tried a variety of wireless adapters last night in case I could offer any useful fragments of info and the results I got varied quite a bit. Of course my hardware is different to yours (this testing was with a 10 year old Tosh laptop but I'm hoping to try a Dell Latitude cpt later in the week..)

(In case it is relevant my md5 is: 417baa52faaa023e4637130741d64bdc pUPnGO_V412_160612.iso)

Heres what I got:

1) I do get your "ifconfig: SIOCGIFFLAGS: No such device" error if an interface is not able to be detected for some reason. Sometimes a hotplug got me past this.

2) The /tmp/interfaces file that goingnuts got me to check is not always there. It only showed up after I ran the wireless manager and clicked "connect". If there was a useable interface that the wireless manager recognised it would create the /tmp/interfaces file. The name given to that wireless interface would be different for different cards. Some cards would be referred to as eth1 and some as wlan0.

Wireless lan adapters I tried in pUPnGO:

EDUP usb adapter ED-1296 uses zd1211rw .Detected ok at boot and/or after boot. Detects as wlan0 via wireless manager. (also brings up a "wmaster0-oo showing in ifconfig). (This one took a bit of mucking around to successfully pick up an IP - had to manually run dhcpcd then rerun wireless manager). Websurfing ok.

Dick Smith XH6821 pcmcia adapter uses rtl8180vF + GCT. Detected as wlan0 and worked via wireless manager. Detected ok during boot. Have not yet tried hot plug after boot. Websurfing ok.

Actiontec Orinoco "Prism I" pcmcia adapter uses orinoco_cs. Detected ok at boot. Detects as eth1 via wireless manager. Got SIOCSIxxxx errors when try to connect. This pcmcia card came out of a wireless router so maybe somewhat different? Keeps repeatedly saying it is waiting for IP address to be issued. Couldn't surf web.

Compex WavePort WL11A+ pcmcia adapter. Dmesg was aware of card being inserted and removed but wireless manager did not detect and no relevant module seemed to be loaded. (Got a feeling I saw a note somewhere that this needs special treatment before it becomes visible. Maybe firmware). Couldnt surf web.

3com 3CRWE154G72 pcmcia adapter. Did not detect during boot, but did detect after hotplug. Showed up as "p54: LM86 firmware (seems to be a cardbus card). Wireless manager was able to bring this up as wlan0 and could surf web fine.

Inbuilt Intel 2200/2915ABG wireless card. Uses ipw2200. Detects as eth1. Wireless manager cant make it work but I can make it work via cli. Web surfing fine.

I don't understand why some cards cause a "wmaster" to be found/set up and others don't.

Anyway, here are some pics:
actiontec orinoco SIOCSI errors.jpg
 Description   SIOC errors on ex-router wireless pcmcia
 Filesize   59.68 KB
 Viewed   737 Time(s)

actiontec orinoco SIOCSI errors.jpg

eths and wlan and wmaster detected.jpg
 Description   Several interfaces detected at once
 Filesize   129.83 KB
 Viewed   743 Time(s)

eths and wlan and wmaster detected.jpg

wireless manager ioctl error but still connect.jpg
 Description   Connection ok even after some errors
 Filesize   28.31 KB
 Viewed   737 Time(s)

wireless manager ioctl error but still connect.jpg

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 8 of 27 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 25, 26, 27 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0933s ][ Queries: 12 (0.0063s) ][ GZIP on ]