D
Deleted member 143446
Guest
Today while I am online, suddenly internet connection down. I applied all I had in my first ait kit but did not work !
I checked that my usb dongle device is working- at leats seem connected in lsubs. But I could not ifup/ifdown my ethernet interface eth0.
I am using static IP since I have only one PC connected to modem. My usb modem have a gateway over 192.168.9.1 address.
I checked /etc/network/interfaces file and they are all there and adjusted like that(since I am using usb-dongle I used hotplug) :
allow-hotplug lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.9.101
broadcast 192.168.9.255
netmask 255.255.255.0
gateway 192.168.9.1
I run sudu ifconfig and I can only see there is a loopback adapter, not eth0 anymore.
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 70 bytes 8038 (7.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 70 bytes 8038 (7.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I could not start it by using ifup/ifdown gives these errors :
ifdown: interface eth0 not configured
Cannot find device "eth0"
When I did this :
it gives :
/bin/run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
ifup: configuring interface lo=lo (inet)
/bin/run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
/sbin/ip link set dev lo up
/bin/run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/wpasupplicant
/bin/run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/wpasupplicant
I reset my usb device by using sudo usbreset and usb_modeswitch programs. They said reset successful, so they saw my usb device.
I restart networking services by using :
In dmesg I saw these lines :
In above "Attached scsi CD-ROM sr3" lines show my usb modem.
Finally I did the last chance to bring my interface to life : UNPLUGGING ! Plug- replug bring it back to life.
My questions are :
1.What is "Sense Key : Hardware Error [current]" means in above journal ?
2. What happened to my modem suddenly?
3. What tools can I add to my first aid kit about it in such situations?
I want to ask to Linux experts since my well-working first ait kit did not work today. Any help is appreciated. Thanks.
I checked that my usb dongle device is working- at leats seem connected in lsubs. But I could not ifup/ifdown my ethernet interface eth0.
I am using static IP since I have only one PC connected to modem. My usb modem have a gateway over 192.168.9.1 address.
I checked /etc/network/interfaces file and they are all there and adjusted like that(since I am using usb-dongle I used hotplug) :
allow-hotplug lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.9.101
broadcast 192.168.9.255
netmask 255.255.255.0
gateway 192.168.9.1
I run sudu ifconfig and I can only see there is a loopback adapter, not eth0 anymore.
Code:
$ sudo ifconfig
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 70 bytes 8038 (7.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 70 bytes 8038 (7.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I could not start it by using ifup/ifdown gives these errors :
Code:
$ sudo ifdown eth0
Code:
$ sudo ifup eth0
When I did this :
Code:
$ sudo ifup -av --force --ignore-errors
/bin/run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
ifup: configuring interface lo=lo (inet)
/bin/run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
/sbin/ip link set dev lo up
/bin/run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/wpasupplicant
/bin/run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/wpasupplicant
I reset my usb device by using sudo usbreset and usb_modeswitch programs. They said reset successful, so they saw my usb device.
I restart networking services by using :
Code:
$ sudo systemctl restart networking
$ sudo systemctl restart systemd-resolved
$ sudo resolvconf -u
In dmesg I saw these lines :
Code:
[ 830.344000] sr 10:0:0:0: [sr3] scsi-1 drive
[ 830.374242] sr 10:0:0:0: Attached scsi CD-ROM sr3
[ 830.374338] sr 10:0:0:0: Attached scsi generic sg5 type 5
[ 830.563001] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 830.563008] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 830.563010] sr 10:0:0:0: Add. Sense: No additional sense information
[ 830.955002] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 830.955009] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 830.955011] sr 10:0:0:0: Add. Sense: No additional sense information
[ 849.922841] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 849.922849] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 849.922851] sr 10:0:0:0: Add. Sense: No additional sense information
[ 3275.787615] cdc_ether: probe of 3-2.3:1.0 failed with error -84
[ 3329.902633] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3467.022619] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3467.246619] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3490.310615] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3577.838610] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3621.070606] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3804.526593] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 3824.910596] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 4888.974510] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 5533.198486] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 5885.082440] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 5929.302429] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6215.214407] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6352.526404] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6387.022393] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6570.702379] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6703.982369] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6833.230365] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6849.582357] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6880.046355] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 6996.750350] usb 3-2.3: reset full-speed USB device number 12 using uhci_hcd
[ 7089.193476] usb 3-2.3: USB disconnect, device number 12
[ 7097.994339] usb 3-2.3: new full-speed USB device number 13 using uhci_hcd
[ 7098.109474] usb 3-2.3: not running at top speed; connect to a high speed hub
[ 7098.135474] usb 3-2.3: unable to read config index 2 descriptor/start: -32
[ 7098.135477] usb 3-2.3: chopping to 2 config(s)
[ 7098.135479] usb 3-2.3: can't read configurations, error -32
[ 7098.218334] usb 3-2.3: new full-speed USB device number 14 using uhci_hcd
[ 7098.333473] usb 3-2.3: not running at top speed; connect to a high speed hub
[ 7098.359474] usb 3-2.3: unable to read config index 2 descriptor/start: -32
[ 7098.359477] usb 3-2.3: chopping to 2 config(s)
[ 7098.359479] usb 3-2.3: can't read configurations, error -32
[ 7098.361475] usb 3-2-port3: attempt power cycle
[ 7098.966347] usb 3-2.3: new full-speed USB device number 15 using uhci_hcd
[ 7099.001473] usb 3-2.3: not running at top speed; connect to a high speed hub
[ 7099.027475] usb 3-2.3: unable to read config index 2 descriptor/start: -32
[ 7099.027478] usb 3-2.3: chopping to 2 config(s)
[ 7099.027480] usb 3-2.3: can't read configurations, error -32
[ 7099.110334] usb 3-2.3: new full-speed USB device number 16 using uhci_hcd
[ 7099.145474] usb 3-2.3: device descriptor read/8, error -71
[ 7099.281473] usb 3-2.3: device descriptor read/8, error -71
[ 7099.387477] usb 3-2-port3: unable to enumerate USB device
[ 7099.614333] usb 3-2.3: new full-speed USB device number 17 using uhci_hcd
[ 7099.733475] usb 3-2.3: not running at top speed; connect to a high speed hub
[ 7100.809502] sr 10:0:0:0: [sr3] scsi-1 drive
[ 7100.844429] sr 10:0:0:0: Attached scsi CD-ROM sr3
[ 7100.844760] sr 10:0:0:0: Attached scsi generic sg5 type 5
[ 7101.046492] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 7101.046500] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 7101.046502] sr 10:0:0:0: Add. Sense: No additional sense information
[ 7101.535488] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 7101.535495] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 7101.535497] sr 10:0:0:0: Add. Sense: No additional sense information
[ 7102.492502] sr 10:0:0:0: ioctl_internal_command return code = 8070000
[ 7102.492510] sr 10:0:0:0: Sense Key : Hardware Error [current]
[ 7102.492512] sr 10:0:0:0: Add. Sense: No additional sense information
In above "Attached scsi CD-ROM sr3" lines show my usb modem.
Finally I did the last chance to bring my interface to life : UNPLUGGING ! Plug- replug bring it back to life.
My questions are :
1.What is "Sense Key : Hardware Error [current]" means in above journal ?
2. What happened to my modem suddenly?
3. What tools can I add to my first aid kit about it in such situations?
I want to ask to Linux experts since my well-working first ait kit did not work today. Any help is appreciated. Thanks.