Problem using internet from console

stefano malini lozingalo at gmail.com
Tue Apr 10 09:04:56 UTC 2012


hi,
i wrote about difficulties using internet from the console. my steps:i 
configured /etc/network/interfaces as follow in paste, i set grub to 
start with console, i set nm-system-settings.conf to disable 
NetworkManager and i reboot. Once rebooted i check eth1 with ifconfig 
and it doesn't keep the ip address.
The command ifup eth1 gives me the output "interfaces eth1 already 
configured, ifdown eth1 gives me RTNETLINK answer: No such 
process-SIOCDELRT: No such process, other time with ifup eth1 is ok and 
eth1 is set with the ip address. but pinging the server gives me 
"Destination Unreachable".
as follow you can see the files /etc/network/interfaces, 
/etc/wpa_supplicant.conf and /var/log/syslog during the time logged in 
the console. UNGSANTE password is WPA-PSK[TKIP]. could you help me please?

/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
       address 192.168.5.2
       netmask 255.255.255.0
       gateway 192.168.5.1
       broadcast 192.168.5.255
       wireless channel 11
       pre-up wpa_supplicant -ieth1 -c/etc/wpa_supplicant.conf -B

/etc/wpa_supplicant.conf
network={
         ssid="UNGSANTE"
 
psk=bcaddd34c7ff01f51eeb0b8a8c74ec1b92bf0ffcff1d10f16955ce2d04db8da8
         key_mgmt=WPA-PSK
         proto=WPA
         }

/var/log/syslog
Apr 10 10:30:36 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 13
Apr 10 10:30:45 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:30:45 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:30:49 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 12
Apr 10 10:31:01 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 19
Apr 10 10:31:01 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:31:01 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:31:06 dello kernel: [   61.656190] usb 7-1: USB disconnect, 
address 2
Apr 10 10:31:08 dello kernel: [   63.384066] usb 7-1: new low speed USB 
device using uhci_hcd and address 3
Apr 10 10:31:08 dello kernel: [   63.586472] input: PIXART USB OPTICAL 
MOUSE as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/input/input13
Apr 10 10:31:08 dello kernel: [   63.586568] generic-usb 
0003:093A:2510.0002: input,hidraw0: USB HID v1.11 Mouse [PIXART USB 
OPTICAL MOUSE] on usb-0000:00:1d.1-1/input0
Apr 10 10:31:17 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:31:17 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:31:20 dello dhclient: No DHCPOFFERS received.
Apr 10 10:31:20 dello dhclient: No working leases in persistent database 
- sleeping.
Apr 10 10:31:20 dello avahi-autoipd(eth0)[1748]: Found user 
'avahi-autoipd' (UID 103) and group 'avahi-autoipd' (GID 110).
Apr 10 10:31:20 dello avahi-autoipd(eth0)[1748]: Successfully called 
chroot().
Apr 10 10:31:20 dello avahi-autoipd(eth0)[1748]: Successfully dropped 
root privileges.
Apr 10 10:31:20 dello avahi-autoipd(eth0)[1748]: Starting with address 
169.254.11.196
Apr 10 10:31:25 dello avahi-autoipd(eth0)[1748]: Callout BIND, address 
169.254.11.196 on interface eth0
Apr 10 10:31:25 dello avahi-daemon[1026]: Joining mDNS multicast group 
on interface eth0.IPv4 with address 169.254.11.196.
Apr 10 10:31:25 dello avahi-daemon[1026]: New relevant interface 
eth0.IPv4 for mDNS.
Apr 10 10:31:25 dello avahi-daemon[1026]: Registering new address record 
for 169.254.11.196 on eth0.IPv4.
Apr 10 10:31:29 dello avahi-autoipd(eth0)[1748]: Successfully claimed IP 
address 169.254.11.196
Apr 10 10:31:29 dello ntpdate[1774]: can't find host ntp.ubuntu.com
Apr 10 10:31:29 dello ntpdate[1774]: no servers can be used, exiting
Apr 10 10:31:32 dello kernel: [   87.944279] CE: hpet increased 
min_delta_ns to 7500 nsec
Apr 10 10:31:33 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:31:33 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:31:46 dello nslcd[1274]: [b141f2] failed to bind to LDAP 
server ldap://192.168.5.200:389: Can't contact LDAP server: Transport 
endpoint is not connected
Apr 10 10:31:46 dello nslcd[1274]: [b141f2] no available LDAP server found
Apr 10 10:31:46 dello nslcd[1274]: [b141f2] "stefano": user not found
Apr 10 10:31:49 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:31:49 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:32:03 dello avahi-daemon[1026]: Joining mDNS multicast group 
on interface eth1.IPv4 with address 192.168.5.2.
Apr 10 10:32:03 dello avahi-daemon[1026]: New relevant interface 
eth1.IPv4 for mDNS.
Apr 10 10:32:03 dello avahi-daemon[1026]: Registering new address record 
for 192.168.5.2 on eth1.IPv4.
Apr 10 10:32:03 dello ntpdate[1825]: can't find host ntp.ubuntu.com
Apr 10 10:32:03 dello ntpdate[1825]: no servers can be used, exiting
Apr 10 10:32:08 dello kernel: [  123.656145] usb 7-1: USB disconnect, 
address 3
Apr 10 10:32:09 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:32:09 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:32:10 dello kernel: [  125.136286] usb 7-1: new low speed USB 
device using uhci_hcd and address 4
Apr 10 10:32:10 dello kernel: [  125.335546] input: PIXART USB OPTICAL 
MOUSE as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/input/input14
Apr 10 10:32:10 dello kernel: [  125.335836] generic-usb 
0003:093A:2510.0003: input,hidraw0: USB HID v1.11 Mouse [PIXART USB 
OPTICAL MOUSE] on usb-0000:00:1d.1-1/input0
Apr 10 10:32:42 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:32:42 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:33:10 dello kernel: [  185.408327] usb 7-1: USB disconnect, 
address 4

Apr 10 10:33:11 dello kernel: [  187.087855] generic-usb 
0003:093A:2510.0004: input,hidraw0: USB HID v1.11 Mouse [PIXART USB 
OPTICAL MOUSE] on usb-0000:00:1d.1-1/input0
Apr 10 10:33:29 dello nslcd[1274]: [b71efb] failed to bind to LDAP 
server ldap://192.168.5.200:389: Can't contact LDAP server: Transport 
endpoint is not connected
Apr 10 10:33:29 dello nslcd[1274]: [b71efb] no available LDAP server found
Apr 10 10:33:29 dello nslcd[1274]: [b71efb] no available LDAP server found
Apr 10 10:33:30 dello nslcd[1274]: [e2a9e3] no available LDAP server found
Apr 10 10:33:30 dello nslcd[1274]: [e2a9e3] no available LDAP server found
Apr 10 10:33:34 dello kernel: [  209.299308] SGI XFS with ACLs, security 
attributes, realtime, large block/inode numbers, no debug enabled
Apr 10 10:33:34 dello kernel: [  209.300785] SGI XFS Quota Management 
subsystem
Apr 10 10:33:34 dello kernel: [  209.399789] JFS: nTxBlock = 8192, 
nTxLock = 65536
Apr 10 10:33:34 dello kernel: [  209.438802] NTFS driver 2.1.29 [Flags: 
R/O MODULE].
Apr 10 10:33:34 dello kernel: [  209.483114] QNX4 filesystem 0.2.3 
registered.
Apr 10 10:33:34 dello kernel: [  209.570938] Btrfs loaded
Apr 10 10:33:34 dello os-prober: debug: running 
/usr/lib/os-probes/50mounted-tests on /dev/sda1
Apr 10 10:33:34 dello 50mounted-tests: debug: /dev/sda1 type not 
recognised; skipping
Apr 10 10:33:34 dello os-prober: debug: os detected by 
/usr/lib/os-probes/50mounted-tests
Apr 10 10:33:34 dello os-prober: debug: running 
/usr/lib/os-probes/50mounted-tests on /dev/sda4
Apr 10 10:33:34 dello ntfs-3g[2342]: Version 2010.8.8 external FUSE 28
Apr 10 10:33:34 dello ntfs-3g[2342]: Mounted /dev/sda4 (Read-Only, label 
"", NTFS 3.1)
Apr 10 10:33:34 dello ntfs-3g[2342]: Cmdline options: ro
Apr 10 10:33:34 dello ntfs-3g[2342]: Mount options: 
ro,allow_other,nonempty,relatime,fsname=/dev/sda4,blkdev,blksize=4096
Apr 10 10:33:34 dello ntfs-3g[2342]: Ownership and permissions disabled, 
configuration type 1
Apr 10 10:33:34 dello 50mounted-tests: debug: mounted as ntfs-3g filesystem
Apr 10 10:33:34 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/10freedos
Apr 10 10:33:34 dello 10freedos: debug: /dev/sda4 is not a FAT 
partition: exiting
Apr 10 10:33:34 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/10qnx
Apr 10 10:33:34 dello 10qnx: debug: /dev/sda4 is not a QNX4 partition: 
exiting
Apr 10 10:33:34 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/20macosx
Apr 10 10:33:34 dello macosx-prober: debug: /dev/sda4 is not an HFS+ 
partition: exiting
Apr 10 10:33:34 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/20microsoft
Apr 10 10:33:34 dello 20microsoft: debug: /dev/sda4 is a NTFS partition
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/30utility
Apr 10 10:33:35 dello 30utility: debug: /dev/sda4 is not a FAT 
partition: exiting
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/40lsb
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/70hurd
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/80minix
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/90linux-distro
Apr 10 10:33:35 dello 50mounted-tests: debug: running subtest 
/usr/lib/os-probes/mounted/90solaris
Apr 10 10:33:35 dello ntfs-3g[2342]: Unmounting /dev/sda4 ()
Apr 10 10:33:35 dello os-prober: debug: running 
/usr/lib/os-probes/50mounted-tests on /dev/sda5
Apr 10 10:33:35 dello 50mounted-tests: debug: /dev/sda5 is a swap 
partition; skipping
Apr 10 10:33:35 dello os-prober: debug: os detected by 
/usr/lib/os-probes/50mounted-tests
Apr 10 10:33:40 dello wpa_supplicant[1066]: No network configuration 
found for the current AP
Apr 10 10:33:40 dello wpa_supplicant[1066]: CTRL-EVENT-DISCONNECTED - 
Disconnect event - remove keys
Apr 10 10:34:00 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 3
Apr 10 10:34:03 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 8
Apr 10 10:34:11 dello dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 12
Apr 10 10:34:12 dello kernel: [  247.160346] usb 7-1: USB disconnect, 
address 5
Apr 10 10:34:13 dello kernel: [  248.640308] usb 7-1: new low speed USB 
device using uhci_hcd and address 6
Apr 10 10:34:13 dello kernel: [  248.839576] input: PIXART USB OPTICAL 
MOUSE as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/input/input16
Apr 10 10:34:13 dello kernel: [  248.839865] generic-usb 
0003:093A:2510.0005: input,hidraw0: USB HID v1.11 Mouse [PIXART USB 
OPTICAL MOUSE] on usb-0000:00:1d.1-1/input0






More information about the ubuntu-users mailing list