Find the answer to your Linux question:
Results 1 to 5 of 5
i can't connect the internet with my network-manager. the network-manager recognizes all my wired and my wireless networks, but it doesn't connect them. when i try to connect network with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2014
    Posts
    3

    problems with network-manager


    i can't connect the internet with my network-manager. the network-manager recognizes all my wired and my wireless networks, but it doesn't connect them.
    when i try to connect network with the shell after stoping the network-manager, i succeed to connect the network.
    Code:
    sudo/etc/init.d/network-manager stop
    
    sudo ifconfing eth0 up
    
    sudo dhckient eth0
    when i restart the network-manager, it disconnect me from the internet.
    what can be the problem?

    i'm sorry about my mistakes in english.

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    949
    What Linux distro are you using, that will help so people familiar with the dialect of Linux can help.
    A lion does not lose sleep, over the opinion of sheep.

  3. #3
    Just Joined!
    Join Date
    May 2014
    Posts
    3
    I use ubuntu 12.04

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    949
    Ubuntu should connect both your wifi and hardwired both.

    Looking at the command you posted you have a typo in your up command it should be: ifconfig eth0 up


    The wifi is wlan0 typically. Why don't you do a ifconfig -a and post the results.

    You can also do iwconfig and it will show status of your wireless connection.
    A lion does not lose sleep, over the opinion of sheep.

  6. #5
    Just Joined!
    Join Date
    May 2014
    Posts
    3
    Code:
    ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 6c:f0:49:e5:09:b5  
              inet6 addr: fe80::6ef0:49ff:fee5:9b5/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:171683 errors:0 dropped:0 overruns:0 frame:0
              TX packets:112684 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:207687139 (207.6 MB)  TX bytes:11180483 (11.1 MB)
              Interrupt:51 Base address:0xe000 
    
    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:4404 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4404 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:338736 (338.7 KB)  TX bytes:338736 (338.7 KB)
    
    wlan2     Link encap:Ethernet  HWaddr b0:48:7a:91:77:5f  
              inet6 addr: fe80::b248:7aff:fe91:775f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:70 errors:0 dropped:0 overruns:0 frame:0
              TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:18094 (18.0 KB)  TX bytes:28404 (28.4 KB)

    Code:
     iwconfig 
    wlan2     IEEE 802.11bgn  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
              
    lo        no wireless extensions.
    
    eth0      no wireless extensions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •