Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 36

Thread: network issues

  1. #11
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: network issues

    Quote Originally Posted by Kanefa View Post
    SeijiSensei, it looks like the code did not make it in.
    ? How do you mean 'did not make it in'? You just want the command, not the ". Copy and paste the following:
    Code:
    route -n
    You may need to use:

    Code:
    sudo route -n

  2. #12
    Join Date
    Jul 2013
    Beans
    43

    Re: network issues

    Here are the results for steeldriver and TheFu. To be clear I removed the router I was borrowing. I am directly connected into the University's network. The Windows' results are in French. Sorry, this is just one reason we are moving to Lubuntu (I teach in the English Department).

    ifconfig - Lubuntu
    Code:
    administrator@DEAA:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0d:56:51:c7:3f  
              inet addr:192.168.2.27  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::20d:56ff:fe51:c73f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2104 errors:0 dropped:0 overruns:0 frame:0
              TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:414397 (414.3 KB)  TX bytes:24555 (24.5 KB)
              Interrupt:17 
    
    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:65536  Metric:1
              RX packets:407 errors:0 dropped:0 overruns:0 frame:0
              TX packets:407 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:29371 (29.3 KB)  TX bytes:29371 (29.3 KB)
    ipconfig /all - Windows
    Code:
    C:\Documents and Settings\Administrateur>ipconfig /all
    
    Configuration IP de Windows
    
            Nom de l'hÙte . . . . . . . . . . : dell01
            Suffixe DNS principal . . . . . . :
            Type de noud . . . . . . . . . . : Inconnu
            Routage IP activÈ . . . . . . . . : Non
            Proxy WINS activÈ . . . . . . . . : Non
            Liste de recherche du suffixe DNS : local-antsiranana.mg
    
    Carte Ethernet Connexion au rÈseau local:
    
            Suffixe DNS propre ‡ la connexion : local-antsiranana.mg
            Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Cont
    roller
            Adresse physique . . . . . . . . .: 00-0D-56-51-C7-8B
            DHCP activÈ. . . . . . . . . . . : Oui
            Configuration automatique activÈe . . . . : Oui
            Adresse IP. . . . . . . . .†. . . : 192.168.11.128
            Masque de sous-rÈseau . . .†. . . : 255.255.255.0
            Passerelle par dÈfaut . . .†. . . : 192.168.11.1
            Serveur DHCP. . . . . . . . . . . : 192.168.11.1
            Serveurs DNS . . . . . . . . . .  : 192.168.11.30
                                                196.192.32.5
            Bail obtenu . . . . . . . .†. . . : vendredi 25 octobre 2013 14:57:01
            Bail expirant . . . . . . .†. . . : vendredi 25 octobre 2013 16:57:01
    route - Lubuntu
    Code:
    administrator@DEAA:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         192.168.2.1     0.0.0.0         UG    0      0        0 eth0
    192.168.2.0     *               255.255.255.0   U     1      0        0 eth0
    route print - Windows
    Code:
    C:\Documents and Settings\Administrateur>route print
    ===========================================================================
    Liste d'Interfaces
    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 0d 56 51 c7 8b ...... Broadcom 440x 10/100 Integrated Controller - Min
    iport d'ordonnancement de paquets
    ===========================================================================
    ===========================================================================
    ItinÈraires actifs†:
    Destination rÈseau    Masque rÈseau  Adr. passerelle   Adr. interface MÈtrique
              0.0.0.0          0.0.0.0     192.168.11.1  192.168.11.128       20
            127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
          169.254.0.0      255.255.0.0   192.168.11.128  192.168.11.128       20
         192.168.11.0    255.255.255.0   192.168.11.128  192.168.11.128       20
       192.168.11.128  255.255.255.255        127.0.0.1       127.0.0.1       20
       192.168.11.255  255.255.255.255   192.168.11.128  192.168.11.128       20
            224.0.0.0        240.0.0.0   192.168.11.128  192.168.11.128       20
      255.255.255.255  255.255.255.255   192.168.11.128  192.168.11.128       1
    Passerelle par dÈfaut†:      192.168.11.1
    ===========================================================================
    ItinÈraires persistants†:
      Aucun

    dig google.com - Lubuntu
    Code:
    administrator@DEAA:~$ dig google.com
    
    ; <<>> DiG 9.9.2-P1 <<>> google.com
    ;; global options: +cmd
    ;; connection timed out; no servers could be reached


    nslookup google.com - Windows

    Code:
    C:\Documents and Settings\Administrateur>nslookup google.com
    DNS request timed out.
        timeout was 2 seconds.
    *** Impossible de trouver le nom de serveur pour l'adresse 192.168.11.30 : Timed
     out
    DNS request timed out.
        timeout was 2 seconds.
    *** Impossible de trouver le nom de serveur pour l'adresse 196.192.32.5 : Timed
    out
    *** Les serveurs par dÈfaut ne sont pas disponibles
    Serveur :  UnKnown
    Address:  192.168.11.30
    
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Le dÈlai de la requÍte sur UnKnown est dÈpassÈ
    Last edited by Kanefa; October 25th, 2013 at 02:13 PM.

  3. #13
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: network issues

    Thanks. Don't have time to do more than skim today...

    Linux is being put on a different subnet than Windows. Can you explain that?

    External DNS didn't work on either host - I'd guess this is due to a proxy - which is smart by your network admins. Don't let any desktop have DNS access to the outside world - only the proxy server does.
    Code:
             Linux            Win
    IP       192.168.2.27     192.168.11.128
    Netmask  255.255.255.0    255.255.255.0
    Gateway  192.168.2.1      192.168.11.1
    DNS Srv  none             192.168.11.30
    See the differences? You'll need to talk with the network - AD - DHCP guys to get this fixed on their side. Getting the internet proxy settings would be smart too.

  4. #14
    Join Date
    Jul 2013
    Beans
    43

    Post Re: network issues

    Quote Originally Posted by Bucky Ball View Post
    ? How do you mean 'did not make it in'? You just want the command, not the ". Copy and paste the following:
    Code:
    route -n
    I misread the instructions as run "route -n" as used in the code tags. I tried this yesterday, but the Lubuntu computer was unable to see the network at all when using the router. I have no explanation why. I was going to wait a bit and try again, but I had to give back the router which was unfortunate.
    Last edited by Kanefa; October 26th, 2013 at 12:41 PM.

  5. #15
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: network issues

    Quote Originally Posted by Kanefa View Post
    I misread the instructions as run "route -n" as used in the code tags. I tried to this yesterday, but the Lubuntu computer was unable to see the network at all when using the router. I have no explanation why. I was going to wait a bit and try again, but I had to give back the router which was unfortunate.
    You've already provided the same data above. Don't worry about it. You need to find out why the Windows PC and the Linux PC are on 2 different subnets. Are both using DHCP or have you tried setting, unused, static IPs?

  6. #16
    Join Date
    Jul 2013
    Beans
    43

    Re: network issues

    Quote Originally Posted by TheFu View Post
    Thanks. Don't have time to do more than skim today...

    Linux is being put on a different subnet than Windows. Can you explain that?

    External DNS didn't work on either host - I'd guess this is due to a proxy - which is smart by your network admins. Don't let any desktop have DNS access to the outside world - only the proxy server does.
    Code:
             Linux            Win
    IP       192.168.2.27     192.168.11.128
    Netmask  255.255.255.0    255.255.255.0
    Gateway  192.168.2.1      192.168.11.1
    DNS Srv  none             192.168.11.30
    See the differences? You'll need to talk with the network - AD - DHCP guys to get this fixed on their side. Getting the internet proxy settings would be smart too.
    Thanks for the response, I really appreciate you looking over it. I cannot explain why the two computers are being put on different subnets. To be clear we are referring to 192.168.2 vs 192.168.11. When you say "see the differences" I assume you are referring just to the subnet issue and nothing else. If that is the case I do see that and will to take it to my network admin. Looking at my Mac I notice it also has the same subnet as the Windows machine. I'm curious as to why the Lubuntu machines would be put onto a different subnet then the Windows and Macs. Any thoughts?

    Also, why would getting the internet proxy settings be helpful in my case?

  7. #17
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,703

    Re: network issues

    The first step is to find out how the Lubuntu network is configured.

    It may be configured from a static configuration file, so let's check that. Please post the content of the file /etc/network/interfaces.
    There is probably no mention of eth0 in the file, but it helps to be sure.

    Also, please post the contents of /etc/NetworkManager/NetworkManager.conf. I'm not sure what it all means, but others here will, and it may be significant.

    There must be a GUI network configuration utility somewhere in Lubuntu. Sorry, I'm not familiar with Lubuntu, but I attach a screenshot of the kind of thing I'm looking for - this is from Xubuntu. Can you find anything similar and post the configuration?

    Also, please try this command thich tries to ask the network for a DHCP address, and post the output. Does this command make the internet work?
    Code:
    sudo dhclient -v eth0
    Attached Images Attached Images

  8. #18
    Join Date
    Apr 2012
    Beans
    7,256

    Re: network issues

    The first thing I'd do in a university / work network is talk to the network admins - these kinds of environments often use MAC address whitelists, meaning that the DHCP server only gives out IP addresses to computers it "knows". Hard to explain where it's getting the 192.168.2.xxx address - as The Cog says, it may be a static assignment.

  9. #19
    Join Date
    Jul 2013
    Beans
    43

    Re: network issues

    /etc/network/interfaces
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    
    # The primary network interface
    #NetworkManager#auto eth0
    #NetworkManager#iface eth0 inet dhcp
    /etc/NetworkManager/NetworkManager.conf
    Code:
    [main]
    plugins=ifupdown,keyfile
    dns=dnsmasq
    
    
    [ifupdown]
    managed=false
    sudo dhclient -v eth0

    Code:
    administrator@DEAA:/$ sudo dhclient -v eth0
    Internet Systems Consortium DHCP Client 4.2.4
    Copyright 2004-2012 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    
    
    Listening on LPF/eth0/00:0d:56:51:c7:3f
    Sending on   LPF/eth0/00:0d:56:51:c7:3f
    Sending on   Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x6fce155a)
    DHCPREQUEST of 192.168.2.27 on eth0 to 255.255.255.255 port 67 (xid=0x6fce155a)
    DHCPOFFER of 192.168.2.27 from 192.168.2.1
    DHCPNAK from 192.168.11.1 (xid=0x6fce155a)
    DHCPACK of 192.168.2.27 from 192.168.2.1
    RTNETLINK answers: File exists
    bound to 192.168.2.27 -- renewal in 563222 seconds.
    Quote Originally Posted by steeldriver View Post
    The first thing I'd do in a university / work network is talk to the network admins - these kinds of environments often use MAC address whitelists, meaning that the DHCP server only gives out IP addresses to computers it "knows". Hard to explain where it's getting the 192.168.2.xxx address - as The Cog says, it may be a static assignment.
    At some point I will have to get in touch with him, but I've been trying for over a month now. Even when I do manage to corner him, we are going to speak two different languages. That being said they have no knowledge of my Mac laptop or any of the other volunteers' computers and they all work (we all have Mac or Window laptops).
    Attached Images Attached Images
    Last edited by Kanefa; October 26th, 2013 at 03:09 PM.

  10. #20
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: network issues

    Code:
    # The primary network interface
    #NetworkManager#auto eth0
    #NetworkManager#iface eth0 inet dhcp
    Remove the "#NetworkManager#" comments from each line so they read

    Code:
    # The primary network interface
    auto eth0
    iface eth0 inet dhcp
    That will tell the system to obtain a DHCP address just like you did manually with dhclient. Now run "sudo service networking restart" and then "ifconfig" and see if you get back the same address, or at least some address in 192.168.2.0/24.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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