WICD My_Adhoc_Network

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

WICD My_Adhoc_Network

Post by zAchAry »

WICD: I would like to erase an Ad-Hoc Network that I made with:
  • Network > Create an ad-hoc network
Any solutions?
Image
Help to make Slackware easier Donate to Salix
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: WICD My_Adhoc_Network

Post by tsuren »

have you checked the usual suspects?

~/.wicd
User-dependent configuration files

/etc/wicd/
Global configuration files

/var/lib/wicd/configurations/
Individual network configurations
'Tommorow is like today, just happens tomorrow.'
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: WICD My_Adhoc_Network

Post by zAchAry »

tsuren wrote:~/.wicd
User-dependent configuration files
Shortcut to file:///var/lib/wicd/WHEREAREMYFILES

tsuren wrote:/etc/wicd/
Global configuration files
Root owned files. I see nothing that looks like the IP address of the ad-hoc nor its MAC address
file:///etc/wicd/manager-settings.conf
file:///etc/wicd/wired-settings.conf
file:///etc/wicd/wireless-settings.conf

tsuren wrote:/var/lib/wicd/configurations/
Individual network configurations
Nothing that I see as relevant.


Edit:
(10:00:05 PM) djemos: zackary look in /etc/wicd/wireless-settings.conf
(10:04:51 PM) djemos: use iwconfig
(10:06:21 PM) djemos: ifconfig wlan0
(10:06:50 PM) djemos: ifconfig wlan0 up
(10:07:26 PM) djemos: iwconfig wlan0 essid "some-essid" key "somekey"
(10:07:43 PM) djemos: dhcpcd -t 10 wlan0
...
(10:19:37 PM) zachary: djemos: the adhoc address has been changed
(10:19:57 PM) djemos: good
(10:20:01 PM) zachary: # iwconfig wlan0 essid "some-essid" key "3334444333"
(10:21:45 PM) zachary: root[~]# dhcpcd -t 10 wlan0
dhcpcd: sending commands to master dhcpcd process
(10:25:16 PM) djemos: 10 means to wait for 10 secs. You can use dhcpcd wlan0
(10:25:56 PM) zachary: What does it do?
There is no change
(10:26:28 PM) djemos: there is no change
(10:26:48 PM) djemos: does same job
(10:27:35 PM) zachary: There was no change, that I know of, when I executed dhcpcd -t 10 wlan0

Code: Select all

root[~]# iwconfig wlan0 essid "some-essid" key "somekey"
Error for wireless request "Set Encode" (8B2A) :
    invalid argument "somekey".
root[~]# iwconfig wlan0 essid "some-essid" key "3334444333"
root[~]# dhcpcd -t 10 wlan0
dhcpcd: sending commands to master dhcpcd process
root[~]#
Image
Help to make Slackware easier Donate to Salix
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: WICD My_Adhoc_Network

Post by Akuna »

zAchAry wrote: file:///etc/wicd/manager-settings.conf
file:///etc/wicd/wired-settings.conf
file:///etc/wicd/wireless-settings.conf
First exit Wicd & also stop Wicd service & then delete these files before trying the procedure djemos outlined.
Image
What really matters is where you are going, not where you come from.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: WICD My_Adhoc_Network

Post by zAchAry »

Akuna wrote:
zAchAry wrote: file:///etc/wicd/manager-settings.conf
file:///etc/wicd/wired-settings.conf
file:///etc/wicd/wireless-settings.conf
First exit Wicd & also stop Wicd service & then delete these files before trying the procedure djemos outlined.
Last time, the procedure suggested by djemos (and even further instructions) worked without deleting the files in question.
I have deleted the file file:///etc/wicd/wireless-settings.conf and I still have a network named My_Adhoc_Network which was created by WICD.

It seems that a new interface (eth1) has been created:

Code: Select all

$ iwconfig 
lo        no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
eth0      no wireless extensions.

bnep0     no wireless extensions.
Please help.


Edit1: It seems that the ad-hoc interface is, for some reason, hooked to the bluetooth interface.
The ad-hoc network appear when bluetooth connection (bnep0) is connected.
Edit2: Maybe bluetooth connection (bnep0) has nothing to do with it.
Edit3: Maybe it is because of a bug with b43 driver - I can have more than one ad-hoc network, hence this assumption.

Edit4: In a correspondence between myself and djemos, djemos has proposed, if I understand correctly, to make a conflict with interfaces, that is to say, to give to the ad-hoc (wlan0) IP address a same IP address of a wireless router which will cause to an elimination of the ad-hoc interface when wlan0 is connected to a wireless router.

Code: Select all

(10:42:01 PM) Myself: I think that the IP is 169.254.12.10
(10:43:10 PM) salix@chat.meticul.eu/djemos: i see only mode:Master 
(10:43:15 PM) salix@chat.meticul.eu/djemos: no ad-hoc
...
(10:50:34 PM) salix@chat.meticul.eu/djemos: then this is not a real address 169.254.12.10
(10:50:44 PM) salix@chat.meticul.eu/djemos: like mine 192.168.1.67
(10:51:30 PM) Myself: Getaway: 192.168.1.1, Mine (LAN) 192.168.1.2
(10:52:06 PM) Myself: Would you like the MAC address of my router?
(10:52:16 PM) salix@chat.meticul.eu/djemos: no
(10:52:23 PM) salix@chat.meticul.eu/djemos: you did not use wireless
(10:52:53 PM) salix@chat.meticul.eu/djemos: unplug your cable and connect with wireless 
(10:53:11 PM) salix@chat.meticul.eu/djemos: use wicd to make a new wireless wpa2 connection
(10:54:31 PM) salix@chat.meticul.eu/djemos: and you will take an address  192.168.1.x and ad hoc will removed since you will make a new wireless connection
Which does work to some extent - Now I can rename the ad-hoc network with this command:

Code: Select all

iwconfig wlan0 essid "some-essid" key "3334444333"
I will later see if I will succeed in eliminating this issue.

Edit5: It seems the problem has been solved.[/i]
Image
Help to make Slackware easier Donate to Salix
Post Reply