Linksys Wireless G: WPC54G ver. 3 in Dingo (SOLVED)!!

Post Reply
Message
Author
jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

Linksys Wireless G: WPC54G ver. 3 in Dingo (SOLVED)!!

#1 Post by jplagarde »

HEy guys,

Still chained to the cat5 cable, looking to break free.

My 2 chances are a Linksys Wireless G WPC54G ver 3
and a dell USB WPC54G ver. 3 (pci)

When I put the Linksys card in, the puppy identifies it as a broadcom unit but it can't detect a live network.

The Dell doesn't even get recognized.

Thanks a bunch!

JP
Last edited by jplagarde on Tue 17 Jun 2008, 00:09, edited 2 times in total.

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

working fine in 2.15ce

#2 Post by mark2 »

I'm currently in Puppy 2.15ce using the Linksys Wireless G: WPC54G ver. 3 it had to be configured using the command line
I entered these commands into a terminal

Code: Select all

rmmod bcm43xx
modprobe firmware_class 
modprobe ieee80211 
modprobe ieee80211softmac 
modprobe bcm43xx
modprobe ieee80211_crypt 
modprobe ieee80211_crypt_wep
ifconfig eth1 up
iwconfig eth1 essid "yournetwork" channel 6 mode managed key xxxxxxxx
dhcpcd eth1
I'll reboot into puppy 4 and test there too
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#3 Post by jplagarde »

is the key xxxx (the x's are the wep key?)

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

#4 Post by mark2 »

jplagarde wrote:is the key xxxx (the x's are the wep key?)
yes
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

script

#5 Post by mark2 »

If its any help I use the following script with Puppy 4

Code: Select all

ifconfig eth1 up

 iwconfig eth1 essid "yournetwork"
 iwconfig eth1 mode managed
 iwconfig eth1 key open yourkey
echo "Trying to get IP address from DHCP server (60sec timeout)..."
echo "Trying to get IP address from DHCP server (60sec timeout)..." > /dev/console
rm /etc/dhcpc/dhcpcd-eth1.pid 2>/dev/null #if left over from last session, causes trouble.
rm /etc/dhcpc/dhcpcd-eth1.cache 2>/dev/null #ditto
rm /etc/dhcpc/dhcpcd-eth1.info 2>/dev/null #ditto
if [ ! -f /root/.dhcpcd.duid ];then
 [ -d /etc/dhcpc ] && dhcpcd eth1 || dhcpcd -I '' eth1
else
 #[ ! -d /var/lib/dhcpcd ] && mkdir /var/lib/dhcpcd
 #[ -s /root/.dhcpcd.duid ] && cp /root/.dhcpcd.duid /var/lib/dhcpcd/dhcpcd.duid
 dhcpcd eth1
if you save the above to a text file using geany, edit your network and key save again, then r/click and change the permissions to make it executable and all being well you should be online, but occasionally it requires 2 tries to get on line, let us know how it goes
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#6 Post by jplagarde »

Thank you so much for the advice!

This is what i did .. the wireless adapter shows up as eth0 Wireless Broadcom BCM43xx wireless driver.

So I took your file and changed the eth1's to 0s ... put in my key and the ESSID name .. i have to say on the router it says SSID "Speed Touch" but when I see wireless networks on my other computer it shows up as Speed touch then after 30 seconds the name changes to "turbonett" which is the name of the service .. so i'm confused as to which one it is. So i configured the network in basic mode with the ssid name and then the wepcode then i clicked on the executable that you find below, but it didn't work. Thanks so much for helping!

Code: Select all

ifconfig eth0 up

 iwconfig eth0 essid "Speed Touch F8DD1F"
 iwconfig eth0 mode managed
 iwconfig eth0 key open 4F214AAC9D
echo "Trying to get IP address from DHCP server (60sec timeout)..."
echo "Trying to get IP address from DHCP server (60sec timeout)..." > /dev/console
rm /etc/dhcpc/dhcpcd-eth0.pid 2>/dev/null #if left over from last session, causes trouble.
rm /etc/dhcpc/dhcpcd-eth0.cache 2>/dev/null #ditto
rm /etc/dhcpc/dhcpcd-eth0.info 2>/dev/null #ditto
if [ ! -f /root/.dhcpcd.duid ];then
 [ -d /etc/dhcpc ] && dhcpcd eth0 || dhcpcd -I '' eth0
else
 #[ ! -d /var/lib/dhcpcd ] && mkdir /var/lib/dhcpcd
 #[ -s /root/.dhcpcd.duid ] && cp /root/.dhcpcd.duid /var/lib/dhcpcd/dhcpcd.duid
 dhcpcd eth0 

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#7 Post by jplagarde »

It can "see a live network" but it can't DHCP ... all attempts fail at that.

Before and after executing the script.

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

#8 Post by mark2 »

Lets back track a little then
boot up puppy open the console/terminal and enter

Code: Select all

iwconfig 
and post back the results

I'm initially puzzled by Eth0 showing up as the wireless, I've configured 3 different laptops with onboard lan and the bcm43xx and in each case the onboard lan (I assume you have onboard lan) has been allocated Eth0 even though it is not connected to the network

Also have a look at tempestuous' excellent walkthrough on configurig wireless from the command line http://www.murga-linux.com/puppy/viewtopic.php?t=22469
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#9 Post by jplagarde »

What happens is that the onboard eithernet is not detected. Tempestous was trying to recommend something but it didn't work, waiting for him to answer me back. He was recommending the intel drivers ... I qoute him below
Well a Google search for "Inspiron 4000 linux" quickly reveals - "Intel Corporation 82557 Ethernet Pro 100"
There are two competing modules (drivers) for this chipset - eepro100 and e100. According to Google, eepro100 works the best, but you should possibly try both.

Code: Select all

# iwconfig
lo        no wireless extensions.

eth0      IEEE 802.11b/g  ESSID:"TURBONETT"  Nickname:"Broadcom 4318"
          Mode:Managed  Frequency=2.442 GHz  Access Point: 00:90:D0:F2:53:25   
          RTS thr:off   Fragment thr:off
          Encryption key:4F21-4AAC-9D   Security mode:open
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth1      no wireless extensions.
Thanks Mark![/code][/quote]

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

#10 Post by mark2 »

Ok our next option is to try the commands individually, this should give us error messages if some thing goes awry.

reboot puppy with the puppy pfix=ram argument

when you get to the desktop open a console and enter the following commands

Code: Select all

ifconfig eth0 up

Code: Select all

iwconfig eth0 essid "TURBONETT"

Code: Select all

iwconfig eth0 mode managed

Code: Select all

iwconfig eth0 key open 4F214AAC9D

Code: Select all

dhcpcd eth0
pressing enter after each line

Report back if there are any error messages or even if successful :?

I do wonder if perhaps the network wizard is getting it's knickers in a twist having 2 unknown modules to contend with.
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#11 Post by jplagarde »

Ok,

I didn't know what pfix=ram was. I looked it up and some people say it doesn't work with Dingo. Anyway that being said i didn't know what you meant by reboot with that, but i have GRUB that boots me of the HDD into Dingo. So i rebooted and I tried you commands each one, no errors and I got the network icon (2 computers comunicating) and i saw the light on the wireless card when I asked it to dhcpcd. So .. i opened up the browser and nothing happened .. I tried to ping a site from the terminal and it said "bad address.
"

Just for the heck of it i tried your pfix=ram, then did all the commands over again and no errors until the last one when it said .. "(dummy) Error, eth0: dhcpcd already running on pid 3767 (/var/run/dhcpcd-eth0.pid)

Thanks again!!

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

nearly there

#12 Post by mark2 »

I think we're nearly there now

rerun the previous commands, until we get to the dhcpcd eth0 command enter these commands

Code: Select all

rm /etc/dhcpc/dhcpcd-eth0.pid 2>/dev/null

Code: Select all

rm /etc/dhcpc/dhcpcd-eth0.cache 2>/dev/null

Code: Select all

rm /etc/dhcpc/dhcpcd-eth0.info 2>/dev/null 

Code: Select all

if [ ! -f /root/.dhcpcd.duid ];then
 [ -d /etc/dhcpc ] && dhcpcd eth0 || dhcpcd -I '' eth0
else 

Code: Select all

dhcpcd eth0
again look for any errors

if successful you should be able to modify your original script by changing the essid from Speed Touch F8DD1F to TURBONETT running the script as was didn't enable us to see any errors created.
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#13 Post by jplagarde »

doing it now ... in the section of code that has several lines to it, [ ! - , etc

am i supposed to hit enter after each line? that's what i did and the # changed to > ...

didn't work but was i supposed to enter that whole thing as one chunk of code and then hit enter?

thanks!

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

#14 Post by mark2 »

I actually created the script I use from the scripts created by the network wizard so I'm not sure if that section is required or not, however omit the

Code: Select all

if [ ! -f /root/.dhcpcd.duid ];then
 [ -d /etc/dhcpc ] && dhcpcd eth0 || dhcpcd -I '' eth0
else
and enter

Code: Select all

dhcpcd eth0
at that stage and report back


edit removed that section from my script and my connection comes up fine still
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#15 Post by jplagarde »

Ok earlier when i was waiting for you to reply i rebooted and did it all over again, entering that one large chunk of code as one line

Code: Select all

if [ ! -f /root/.dhcpcd.duid ];then
 [ -d /etc/dhcpc ] && dhcpcd eth0 || dhcpcd -I '' eth0
else
.. after i entered it and pressed return the prompt again when from # to >

So i closed terminal opened it again and did the last line of code

Code: Select all

dhcpcd eth0
And it worked!

Then i rebooted did it all over again and then omitted the large code mentioned above and went straight to

Code: Select all

dhcpcd eth0
and it worked! So you're right its not necessary!

I can't thank you enough!! What do i do now? just put those lines in the connection start up script that you posted earlier? do i just have to double click that executable when i want to connect to my network here?

Would it be possible to connect to other networks?

[/code]

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

success

#16 Post by mark2 »

Well done, you've actually prompted me to clean up my script. :D

If you use the code below to create your wireless script , save, change permissions etc
In my case it's saved to my documents, once you reach the desktop you can simply open "my documents" and click on it to launch your wireless connection.
I do however find it does occasionally (1 in 5) require to be run twice to connect.

Code: Select all

ifconfig eth0 up

 iwconfig eth0 essid "TURBONETT"
 iwconfig eth0 mode managed
 iwconfig eth0 key open 4F214AAC9D
echo "Trying to get IP address from DHCP server (60sec timeout)..."
echo "Trying to get IP address from DHCP server (60sec timeout)..." > /dev/console
rm /etc/dhcpc/dhcpcd-eth0.pid 2>/dev/null 
rm /etc/dhcpc/dhcpcd-eth0.cache 2>/dev/null 
rm /etc/dhcpc/dhcpcd-eth0.info 2>/dev/null 
 dhcpcd eth0
edit

If you connect to wireless networks at different locations you can edit the script for each location
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#17 Post by jplagarde »

If I go to an internet wifi hotspot how would i know what the essid was to connect to? would there be a way to search it? I'm just asking cause i'm curious. I'll mostly be here using it on the TURBONETT network!

Thank you so much!! I have an immersion spanish school here in Antigua Guatemala and we teach students from around the world how to speak Spanish ... we also teach online! That's why I needed this computer to work! Because we're expanding! Let me know if you want a free couple of hours of class ... to get you talking enough to at least order a beer in Cancun!

User avatar
mark2
Posts: 104
Joined: Sun 20 Aug 2006, 19:35
Location: Bristol, UK
Contact:

#18 Post by mark2 »

jplagarde wrote:If I go to an internet wifi hotspot how would i know what the essid was to connect to? would there be a way to search it?
Not being a hotspot user, but others I know do use them and usually you can enquire of the staff and they usually know the details
Thank you so much!!......we teach students from around the world how to speak Spanish .......Let me know if you want a free couple of hours of class ... to get you talking enough to at least order a beer in Cancun!
This puppy I'm on has taught an old dog new tricks but I think I'll pass on the spanish :D my tongue could never get round french all those years ago. :?

Glad we got you sorted.

If you could go back to your 1st post and edit it to add solved to the title it will help others in the future.
[img]http://www.markamos.pwp.blueyonder.co.uk/yxudnslbsx.png[/img]
www.crowncarcare.co.uk

jplagarde
Posts: 31
Joined: Thu 05 Jun 2008, 02:54

#19 Post by jplagarde »

Thanks again, I'll add solved to it!

2 weeks with puppy and loving it!

Have a good day!

JP

mortuis99
Posts: 22
Joined: Sun 15 Jun 2008, 05:21

#20 Post by mortuis99 »

I restarted my quest to get my machine online. I reformatted my partition and reinstalled PUPPY 4 and restarted

I entered the code below

when you get to the desktop open a console and enter the following commands

Code: Select all

ifconfig eth0 up

Code: Select all

iwconfig eth0 essid "TURBONETT"

Code: Select all

iwconfig eth0 mode managed

Code: Select all

iwconfig eth0 key open 4F214AAC9D

Code: Select all

dhcpcd eth0
when i entered this line i got the error :

# iwconfig eth0 key open 4F214AAC9D
# dhcpcd eth0
Error, eth0: timed out
Error, eth0: lease information file `/var/lib/dhcpcd/dhcpcd-eth0.info' does not exist
Warning, eth0: using IPV4LL address 169.254.223.189

i hope this is copied i had to do it by hand

thanks

:roll:

Post Reply