You are not logged in.

#1 2010-07-19 16:28:42

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Can`t make network manager work properly

My wired internet connection works fine at startup, and I can connect to wireless network through console, but obviously it`s not the best way to do so. So I`ve installed the network manager. As many people did, I had problem it didn`t want to start if I`ve logged in as a normal user, so I`ve copier the dbus config files from this post:
https://bbs.archlinux.org/viewtopic.php?id=63576
The network manager starts now, but when I click on it`s icon on a system tray it says Network Managment disabled. When i put my cursor on icon without clicking it says "Networking information not available".. Network monitor finds the eth0 and says it works perfectly fine, but f.e. in network connections I can`t select any tab, except VPN.

#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 70:5A:B6:5B:BF:4B  
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::725a:b6ff:fe5b:bf4b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1137 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:727589 (710.5 Kb)  TX bytes:200454 (195.7 Kb)
          Interrupt:18 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2000 (1.9 Kb)  TX bytes:2000 (1.9 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1E:64:92:12:EA  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

my rc.conf

LOCALE="pl_PL.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Warsaw"
KEYMAP="pl"
CONSOLEFONT=lat2-16.psfu.gz
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
lo="lo 127.0.0.1"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(lo eth0 wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
ROUTES=()
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus !network netfs crond hal networkmanager slim)

I`d appreciate any help

Offline

#2 2010-07-19 16:42:47

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: Can`t make network manager work properly

since you said that network manager is disabled, try this:

/etc/rc.d/networkmanager stop
rm /var/lib/NetworkManager/NetworkManager.state
/etc/rc.d/networkmanager start

you can also edit the networkmanager.state file.

Offline

#3 2010-07-20 02:55:21

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Re: Can`t make network manager work properly

Not working.

Offline

#4 2010-07-20 12:00:40

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Re: Can`t make network manager work properly

Well, i solved part of the problem with changing my daemons a bit, and putting it with hal after dbus.


Still, when I run networkmanager and create a network it accepts all settings etc. but it wil halt at the connecting status. In both, wireless and wired. Also, after running network manager I can no longer use internet, as I lose my current network connection.

[EDIT]

Okay, now I have no idea what`s wrong. If I log in as a root, everything works fine.... whyyyyy?

[EDIT2]
Or not... I rebooted the laptop and it doesn`t work now sad

[EDIT3]
Well, I have a few questions to which answers might help me.
1.should I have network or !network in daemons? Cause in 2 different versions of wiki there are different informations.
2.Is this a correct setup for /etc/rc.conf :

lo="lo 127.0.0.1″
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(lo !eth0 !wlan0)
#gateway="default gw 192.168.0.1″
ROUTES=0
#NET_PROFILES=(main)

In case of both quesitons, I`ve tried many options and changed them many times.. so many times I don`t know anythin anymore, I`d be grateful if someone could tell me what I`ve been changing all this time actually....

Last edited by Xyzk (2010-07-21 02:47:52)

Offline

#5 2010-07-21 09:06:49

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Re: Can`t make network manager work properly

[nothing to see here, delete this]

Last edited by Xyzk (2010-07-21 09:07:19)

Offline

Board footer

Powered by FluxBB