LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2007, 10:23 PM   #1
samopal
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Rep: Reputation: 0
Weird behavior of knetworkmanager under Lenny


I used to manualy configure my network interfaces like this>
Code:
# The loopback network interface
auto lo eth2
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# wifi 
iface eth2 inet dhcp
wireless-essid mySSID
wireless-mode managed
this is for my home wifi LAN with wifi router and it works like charm. However recently I need to move my laptop a little and I was forced to work under different wifi sites, so some network manager would be handy. I don't need any wifi encryption, and after short research (and after few small utility install and uninstall) I discovered that network-manager is THE way to go. apt-get install knetworkmanger and I changed my interfaces file to something like:

Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# wifina 
iface eth2 inet dhcp
#wireless-essid mySSID
#wireless-mode managed
So it will not conflict with network manger. I also added myself to 'netdev' group and restarted whole laptop (yes, yes, it is enough to restart some services, but I'm lazy and this is easier..)
However since I let knetworkmanager control my network connections, it acts in weird ways. For example sometimes it completly refuses to connect to my primary network with 'mySSID'. It says 'Unable to connect to mySSID' and it automaticly tries other sites (of other people in the building :> ), and successfuly connects to their sites. This behavior is completely random. I don't know where to start, I didn't find any good guide for network-manager under Debian, all in all, isn't wifi connection one of most obvious functionality that OS should meet? from my point of view it seems to be very poorly implemented.
 
Old 12-21-2007, 03:22 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Perhaps you have encryption in your wireless network where as the neighbors don't. There is documentation worth reading in /usr/share/doc/network-manager etc.
 
Old 12-21-2007, 03:30 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Why are the highlighted entries in /etc/network/interfaces file commented out?
Quote:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# wifina
iface eth2 inet dhcp
#wireless-essid mySSID
#wireless-mode managed
 
Old 12-23-2007, 12:18 AM   #4
samopal
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Original Poster
Rep: Reputation: 0
yeah, I did read the documentation and all the stuff. Actually, this explains why I have 'interfaces' file set-up that way>

/usr/share/doc/network-manager/README.debian>
Only devices that are *not* listed in /etc/network/interfaces or which have
been configured "auto" and "dhcp" (with no other options) are managed by NM

edit: btw, there is no encryption on my wifi network, I'm quiet sure about it

Last edited by samopal; 12-23-2007 at 12:20 AM.
 
  


Reply

Tags
connection, debian, knetworkmanager, network manager, wifi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird net behaviour with Debian Lenny analian Linux - Networking 7 06-08-2007 06:28 PM
Weird behavior!! surfer41 Linux - Networking 1 04-25-2006 08:53 AM
Weird behavior Bassy Linux - Software 2 10-20-2005 02:32 PM
weird mount behavior sohmc Linux - Hardware 0 06-07-2005 08:06 AM
Weird Knode behavior PapaNoHair Mandriva 0 11-09-2003 07:39 PM


All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration