LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 09: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, 02:22 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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, 02:30 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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-22-2007, 11:18 PM   #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-22-2007 at 11:20 PM.
 
  


Reply

Tags
connection, debian, knetworkmanager, network manager, wifi



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 05:28 PM
Weird behavior!! surfer41 Linux - Networking 1 04-25-2006 07:53 AM
Weird behavior Bassy Linux - Software 2 10-20-2005 01:32 PM
weird mount behavior sohmc Linux - Hardware 0 06-07-2005 07:06 AM
Weird Knode behavior PapaNoHair Mandriva 0 11-09-2003 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:51 PM.

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
Open Source Consulting | Domain Registration