Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hello everyone, this is my first post in these forums... I've been using Debian for quite some time now and I solved most of my problems just by googling...however this ...
  1. #1
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71

    Weird connection problem...

    Hello everyone, this is my first post in these forums...
    I've been using Debian for quite some time now and I solved most of my problems just by googling...however this problem chases me since I first installed debian.

    First note is that my internet connection in itself workes fine, the problem is it never workes on boot while it's always enabled...to get it working I have to typr:

    network-admin
    Here it list my connections...which in my case is one wired connection with DHCP. As usual network-admin shows the connection is enabled...however I can't connect to anything.

    To get it working, in network-admin I have to disable the connection simply by unchecking the box in front of it and than immediately enable it again by checking the box again. After this my connection is fine.

    And that is not my only problem...because I don't have a connection while booting, my NTP server can't connect too so my system time is wrong too.
    So after "resetting" my connection I also have to issue the command:

    dpkg-reconfigure ntp
    My question is how to solve this because it's driving me crazy having to routine these commands every time I turn on my computer...

    Here is my ifconfig output:
    eth0 Link encap:Ethernet HWaddr 00:19:db:70:41:b8
    inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::219:dbff:fe70:41b8/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3068 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3026 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3250172 (3.0 MiB) TX bytes:397836 (388.5 KiB)
    Interrupt:23 Base address:0xec00

    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:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
    And my IP adress is:
    81.205.126.5

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Hi geniuz. I'm gonna "bump" your post because there should be a fairly easy answer for it. I haven't used Debian in a long time, but some of or mods use it and should be able to help once they see this thread. I'm sure it's simply a configuration problem -- editing a file somewhere. I'd be hesitant to offer advice further because straight Debian does things differently than I'm used to.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71
    Yes I agree it's probably some stupid config file messing it up...but the problem is I couldn't find any other resources on the net explaining my problem. You guys are my last hope actually, if I can't fix this I'm probably gonna install ubuntu or gentoo...

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Are you using Gnome? Kde? XFCE? I know there are "gui" network utilities you can use with each.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  5. #5
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71
    I'm using XFCE with gnome libraries, network-admin for instance is part of the package gnome-system-tools

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    I've been digging around in Ubuntu. I found some network files to configure in /etc/network. See the file "interfaces" to set up device, ip, subnet, gateway and all that. I think Debian uses an init file in /etc/init.d called "network" to set these parameters at boot. Also in /etc/network are "if-up" and "if-down" files I'm groping through the dark here, but it's worth looking into. Maybe devils_casper will have a look at this thread. He uses Debian and can get you on the right track in no time.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  7. #7
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71
    Ok, well thanks a lot for your effort and fast responce...I know about the /etc/network folder and I tried to change a few things in them nothing helped though and I don't want to completely mess up my network.
    Anyway I believe I'll just have to be patient

  8. #8
    Linux Enthusiast Manchunian's Avatar
    Join Date
    Dec 2007
    Location
    France but my heart stays in Britain
    Posts
    675
    What did you change in your /etc/network file? Perhaps you could paste it here?
    Distribution: Archlinux
    Processor: 3 x Amd 64 bit
    Ram: 4 GB
    Graphics card: Nvidia GeForce 9800 GT

  9. #9
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71
    Well.../etc/network is a folder wich holds only one file that can be modified: interfaces, here is how it looks in my case:

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).



    # The primary network interface
    allow-hotplug eth0

    iface eth0 inet dhcp

    # The loopback network interface
    auto lo
    iface lo inet loopback


    auto eth0

  10. #10
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    As a reference, here's mine from Ubuntu 7.10.
    Code:
    auto lo
    iface lo inet loopback
    
    
    iface eth0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    gateway 192.168.1.1
    
    auto eth1
    #iface eth1 inet dhcp
    
    auto eth2
    #iface eth2 inet dhcp
    
    auto ath0
    #iface ath0 inet dhcp
    
    auto wlan0
    #iface wlan0 inet dhcp
    Linux Mint + IceWM Registered:#371367 New Members: click here

Page 1 of 2 1 2 LastLast

Posting Permissions

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