Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've try to set an adhoc hotspot, and since the built-in solution wasn't working (click "use as Hotspot..." in the network manager) I've tried a tutorial (which I can't find -_-). The tutorial didn't work, and some time later, I've unplugged the ethernet cable, and when I plugged it back, nothing happened. Network manager display "cable unplugged".

Since there was an upgrade, I've done it, thinking maybe it would solve the problem (my /home has its own partition, so I just installed the new release on the / ) But I still have the same problem, with this "cable unplugged".

I've tried many things but none worked. I think the problem comes from when I tried to assign another ip to my eth0 (not sure, that's the problem with following tutorial and having no idea what we're doing :/ )

Fortunately the wifi is just fine.

Here's all I could think of checking, thanks in advance if you can help me :) :

mathieu@mathieu-ThinkPad-X220 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr f0:de:f1:bf:3b:c2  
          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)
          Interrupt:20 Memory:f2600000-f2620000

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:277 errors:0 dropped:0 overruns:0 frame:0
          TX packets:277 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24392 (24.3 KB)  TX bytes:24392 (24.3 KB)

wlan0     Link encap:Ethernet  HWaddr 10:0b:a9:6a:bd:08  
          inet addr:192.168.0.106  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::120b:a9ff:fe6a:bd08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2643 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1850609 (1.8 MB)  TX bytes:428698 (428.6 KB)

mathieu@mathieu-ThinkPad-X220 ~ $ lspci -nnk | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
        Subsystem: Lenovo Device [17aa:21ce]
        Kernel driver in use: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)
        Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1311]
        Kernel driver in use: iwlwifi

mathieu@mathieu-ThinkPad-X220 ~ $ ifconfig -a
eth0      Link encap:Ethernet  HWaddr f0:de:f1:bf:3b:c2  
          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)
          Interrupt:20 Memory:f2600000-f2620000

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:583 errors:0 dropped:0 overruns:0 frame:0
          TX packets:583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:49126 (49.1 KB)  TX bytes:49126 (49.1 KB)

wlan0     Link encap:Ethernet  HWaddr 10:0b:a9:6a:bd:08  
          inet addr:192.168.0.106  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::120b:a9ff:fe6a:bd08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5892 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7361 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3983414 (3.9 MB)  TX bytes:922793 (922.7 KB)

mathieu@mathieu-ThinkPad-X220 ~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
mathieu@mathieu-ThinkPad-X220 ~ $ lsmod
Module                  Size  Used by
joydev                 17377  0
parport_pc             32701  0
ppdev                  17671  0
rfcomm                 69070  0
bnep                   19564  2
bluetooth             371874  10 bnep,rfcomm
binfmt_misc            17468  1
x86_pkg_temp_thermal    14162  0
intel_powerclamp       14705  0
coretemp               13435  0
kvm                   431315  0
crct10dif_pclmul       14289  0
crc32_pclmul           13113  0
ghash_clmulni_intel    13259  0
aesni_intel            55624  1
aes_x86_64             17131  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20329  3 ghash_clmulni_intel,aesni_intel,ablk_helper
dm_multipath           22843  0
scsi_dh                14882  1 dm_multipath
snd_hda_codec_hdmi     41276  1
snd_hda_codec_conexant    56945  1
microcode              23518  0
arc4                   12608  2
iwldvm                237440  0
psmouse                97626  0
serio_raw              13413  0
mac80211              596969  1 iwldvm
snd_hda_intel          48171  3
snd_hda_codec         188738  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
lpc_ich                21080  0
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
iwlwifi               165398  1 iwldvm
uvcvideo               80885  0
videobuf2_vmalloc      13216  1 uvcvideo
cfg80211              479757  3 iwlwifi,mac80211,iwldvm
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40469  1 uvcvideo
videodev              133390  2 uvcvideo,videobuf2_core
thinkpad_acpi          80701  0
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
nvram                  14362  1 thinkpad_acpi
snd_seq_midi           13324  0
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30095  1 snd_seq_midi
mei_me                 18421  0
mei                    77692  1 mei_me
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
snd                    69141  18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_seq_midi
tpm_tis                19123  0
soundcore              12680  1 snd
mac_hid                13205  0
lp                     17759  0
parport                42299  3 lp,ppdev,parport_pc
dm_mirror              22056  0
dm_region_hash         20784  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
i915                  655752  3
i2c_algo_bit           13413  1 i915
sdhci_pci              18985  0
drm_kms_helper         52651  1 i915
sdhci                  42630  1 sdhci_pci
drm                   296739  4 i915,drm_kms_helper
ahci                   25819  3
libahci                31898  1 ahci
e1000e                250025  0
ptp                    18580  1 e1000e
pps_core               19027  1 ptp
wmi                    19070  0
video                  19318  1 i915

mathieu@mathieu-ThinkPad-X220 ~ $ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x1502 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="f0:de:f1:bf:3b:c2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x0085 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="10:0b:a9:6a:bd:08", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
share|improve this question
    
Ok, so it works (except I feel like a complete idiot). Since the problem came after I played with the network, I assumed it was a software problem. Well, actually, it appears the cable was deffective. I don't know if what I've done is the cause (???) but anyway, with a new cable everything works perfectly. So the lesson I get from that (and 2 days of searching) is : try another cable, it's quick and cost nothing, compared to 48h of learning everything about network. –  Math Jan 13 at 16:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.