Author Topic: (Solved) Saving wireless configuration  (Read 5684 times)

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
(Solved) Saving wireless configuration
« on: June 10, 2010, 05:51:19 PM »
Everytime that i'm disconnecting my laptop and reconnect it i have problems with my wireless connection. I don't keep the laptop battery connected so when i'm disconnecting the laptop there is no other source of power.

Is there a way that i can save my wireless configuration so that when i disconnect the laptop from the power source i can keep the configuration active so that i won't have to fight with the configuration every time to make it work again?

« Last Edit: June 13, 2010, 06:58:51 PM by OrdiDoc »

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #1 on: June 12, 2010, 01:22:48 AM »
Wow, nothing yet, so maybe it's not possible to do it?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Saving wireless configuration
« Reply #2 on: June 12, 2010, 01:43:17 AM »
Hi, OrdiDoc.

Sorry you haven't gotten an answer yet. I'm trying to figure out what's going on here. Are you saying that your wireless settings are lost after you shut down your laptop and move it? Are you using a PCMCIA wireless card in it, or is it an external USB wireless card? Are you plugging and unplugging the laptop from a docking station?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #3 on: June 12, 2010, 02:16:26 AM »
The wireless settings are there but not working and that's happening everytime that i unplug the laptop from the power source.

I've been trying to reconfigure it again since three days now, tried to remove the wireless in PCLinux Control Center and configure it again after rebooting but no success. I don't understand what is happening so i would like to save my configuration if possible when it's working and use it for the next time that i have to unplug the laptop from the power source.

If i right click on the icon in the taskbar and i go to Settings>Profiles i have 2 profiles there, the Default and my other one which is BluesMan and that is the one that i'm using all the time. I don't think that the profiles are creating problems so i'm in the dark with this one and don't know what to do next to make it work.

[ordidoc@localhost ~]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=off   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         
[ordidoc@localhost ~]$





Offline googy

  • Full Member
  • ***
  • Posts: 51
Re: Saving wireless configuration
« Reply #4 on: June 12, 2010, 12:21:30 PM »
Same problem here.  It's dual boot (PCLOS/Win7) Sony VAIO (Maybe irrelevant).

Still can't get a connection at home since I connected to hotel access point for a week.  Used to work fine. Have to use windows to use internet.

Have removed network adapter in software and reinstalled time and time again - I KNOW the WEP key is correct. 

Intel 5100 AGN


Offline luikki

  • Hero Member
  • *****
  • Posts: 1407
Re: Saving wireless configuration
« Reply #5 on: June 12, 2010, 12:32:31 PM »
googy,
delete all wireless connections and create a new one.

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #6 on: June 12, 2010, 01:22:03 PM »
I can use wired connetion but for now i'm still fighting with the wireless one. luikki, i already deleted the connection many times and created new ones with the same result???

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Saving wireless configuration
« Reply #7 on: June 12, 2010, 01:39:28 PM »
If i right click on the icon in the taskbar and i go to Settings>Profiles i have 2 profiles there, the Default and my other one which is BluesMan and that is the one that i'm using all the time. I don't think that the profiles are creating problems so i'm in the dark with this one and don't know what to do next to make it work.


I guess I'm seeing a different menu than yours. If I right-click the network icon in the taskbar, I get the menu shown below. Does that look like yours?


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #8 on: June 12, 2010, 06:02:59 PM »
Looks like it except that in Wireless Networks i can see only Manage wireless networks, nothing else.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Saving wireless configuration
« Reply #9 on: June 13, 2010, 03:05:13 AM »
If i right click on the icon in the taskbar and i go to Settings>Profiles i have 2 profiles there, the Default and my other one which is BluesMan and that is the one that i'm using all the time.


OK, why are you not using the default profile? More questions, I know. Also, what hardware are you using? Sorry if you already posted it elsewhere. Can you list the results of:

lspci

lspcmcia

lsusb

ifconfig

Can you also do this? It sounds like you are plugging into more than one network or internet access point. If that is true, and you are having to set up your wireless each time you plug in to a different one, we need to see how each is configured. So, for example, after you have set up your network connection on the first one and can get online, just type this in a terminal:

iwconfig > internet1.txt

If you just type iwconfig, you see the results on the screen. You can send the output to a file instead, using the > symbol. So your iwconfig information will be stored in the internet1.txt file, which you can easily view and attach to a post. After you have set up your network connection on the second one and can get online, just type this in a terminal:

iwconfig > internet2.txt

See the difference? That way, we can see what the differences are in the networks you are connecting to, if that's what is happening. One more thing. Do you have hotplugging enabled, like in the attached shot?


« Last Edit: June 13, 2010, 03:35:18 AM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #10 on: June 13, 2010, 11:22:56 AM »
There you go. I tried the default profile and the BluesMan profile and it does not work at all, i have to use the wired connection for now.

lspci:

[ordidoc@localhost ~]$ lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: nVidia Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
01:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
01:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
01:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
01:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
07:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
[ordidoc@localhost ~]$

lsusb:

[ordidoc@localhost ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB [Hama]
Bus 001 Device 003: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 064e:a103 Suyin Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[ordidoc@localhost ~]$

ifconfig:

[ordidoc@localhost ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5681 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5681580 (5.4 MiB)  TX bytes:1079537 (1.0 MiB)
          Interrupt:27 Base address:0x8000

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9292 (9.0 KiB)  TX bytes:9292 (9.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:17:C4:25:3E:96  
          inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:991 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:168329 (164.3 KiB)  TX bytes:18798 (18.3 KiB)

[ordidoc@localhost ~]$ iwconfig>internet1.txt
lo        no wireless extensions.

eth0      no wireless extensions.

[ordidoc@localhost ~]$ iwconfig>internet2.txt
lo        no wireless extensions.

eth0      no wireless extensions.







Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #11 on: June 13, 2010, 11:28:45 AM »
Strange, after i did all the work at the Konsole, i redid the configuration for the wireless and it's now working....i don't know what is going on??? So is there any way that i can save this working configuration?

Offline googy

  • Full Member
  • ***
  • Posts: 51
Re: Saving wireless configuration
« Reply #12 on: June 13, 2010, 06:03:08 PM »
googy,
delete all wireless connections and create a new one.


Thanks, Luikki - Pardon my ignorance, but can you give me a little hint?  Went to Network Center - Only options under wireless networks are Monitor-Config-Connnect.....  No "Delete" - are the wireless connections stored in a file that I could delete?

Thx

GG


Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Saving wireless configuration
« Reply #13 on: June 13, 2010, 06:58:03 PM »
googy, if you use pclinuxos control center, go to Network & Internet, there you'll see "remove a connection", that's the one to use so remove the wireless one, restart your computer and try to configure your connection again.

Hope this help :)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: (Solved) Saving wireless configuration
« Reply #14 on: June 14, 2010, 12:14:48 AM »
When you go to set up your network in the Control Center, how many devices are there? Is it just wireless, or do you also have an eth0 port listed?
The reason I'm asking is the internet1&2.txt files don't show any wireless connection. Looks like you have an eth0 and an ath0.
« Last Edit: June 14, 2010, 12:18:19 AM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378