Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] start job running for LSB: Raise network interface

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

[SOLVED] start job running for LSB: Raise network interface

#1 Post by hughparker1 »

I have just installed debian-live-8.3.0-i386-lxde on my old hp530 32-bit laptop

Everything went well but every time I start my laptop I get following message which lasts for approx 1m 20s ...

Code: Select all

Loading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
[ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit)
with the 3 asterisks above moving back and forth.
... then it boots OK into operating system. so apart from the delay everything is working ok.

Has anyone seen this kind of message before, and is there a way to avoid this delay? I am still learning linux but if someone can point me in the right direction I would be grateful. I can use terminal if I know the syntax to use. Thanks for any assistance.
Last edited by hughparker1 on 2016-02-18 09:58, edited 1 time in total.

spacex
Posts: 637
Joined: 2015-01-17 01:27

Re: [***]A start job is running for LSB: Raise network inter

#2 Post by spacex »

As root, open "etc/network/interfaces"...


If there is a line with "allow hotplug", then comment it out, save and reboot. If this doesn't apply to your issue, then report back...

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#3 Post by hughparker1 »

spacex wrote:As root, open "etc/network/interfaces"...
If there is a line with "allow hotplug", then comment it out, save and reboot. If this doesn't apply to your issue, then report back...
Thanks for quick reply, I checked the file you suggested and didn't see anything about "allow hotplug" see output below...

Code: Select all

root@hp530-Debian-8:/home/hugh# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
# This is an autoconfigured IPv6 interface
iface wlan0 inet6 auto
	wpa-ssid TALKTALKA661B5
	wpa-psk  ***********
root@hp530-Debian-8:/home/hugh# 

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#4 Post by Head_on_a_Stick »

hughparker1 wrote:

Code: Select all

iface wlan0 inet6 auto
Does your ISP offer IPv6?

Check here: http://test-ipv6.com/

If not, remove that line.
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#5 Post by hughparker1 »

Head_on_a_Stick wrote:
hughparker1 wrote:

Code: Select all

iface wlan0 inet6 auto
Does your ISP offer IPv6?
Check here: http://test-ipv6.com/
If not, remove that line.
Thanks for responding.. I checked the url you suggested... and this is the output....

Code: Select all

Your IPv4 address on the public Internet appears to be 92.22.43.72

	Your Internet Service Provider (ISP) appears to be OPALTELECOM-AS TalkTalk Communications Limited,GB

	No IPv6 address detected [more info]

	Good news! Your current configuration will continue to work as web sites enable IPv6.

	You appear to be able to browse the IPv4 Internet only. You will not be able to reach IPv6-only sites.

	Your DNS server (possibly run by your ISP) appears to have no access to the IPv6 Internet, or is not configured to use it. This may in the future restrict your ability to reach IPv6-only sites. [more info]
Your readiness score
0/10	for your IPv6 stability and readiness, when publishers are forced to go IPv6 only

Code: Select all

Test Data
Test with IPv4 DNS record 	                      ok (0.315s) using ipv4
Test with IPv6 DNS record 	  	                 bad (0.085s)
Test with Dual Stack DNS record 	  	          ok (0.525s) using ipv4
Test for Dual Stack DNS and large packet 	  	  ok (0.361s) using ipv4
Test IPv4 without DNS 	  	                     ok (0.334s) using ipv4
Test IPv6 without DNS 	  	                   bad (0.030s)
Test IPv6 large packet 	  	                  bad (0.245s)
Test if your ISP's DNS server uses IPv6 	  	  timeout (7.999s)
Find IPv4 Service Provider 	  	                ok (0.219s) using ipv4 ASN 13285
Find IPv6 Service Provider 	  	                bad (0.267s)
From the output, it looks like my ISP does not offer IPv6? I don't have the technical knowledge to analyse the test output properly. My ISP is TalkTalk in UK.

So is it OK for me to go ahead and just comment out the line ...

Code: Select all

# iface wlan0 inet6 auto
I noticed there is another two lines beneath this line, is it ok to leave them ?

Code: Select all

   wpa-ssid TALKTALKA661B5
   wpa-psk  ***********

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#6 Post by Head_on_a_Stick »

hughparker1 wrote:So is it OK for me to go ahead and just comment out the line ...

Code: Select all

# iface wlan0 inet6 auto
Yes, that line is requestng an IPv6 connection that you do not have.
hughparker1 wrote:I noticed there is another two lines beneath this line, is it ok to leave them ?

Code: Select all

   wpa-ssid TALKTALKA661B5
   wpa-psk  ***********
You need those lines to authenticate with your access point, leave them alone.
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#7 Post by hughparker1 »

Thanks for your help. I edited the interface file and then reboot laptop but both the error message and delay message is still there, same as before...

Code: Select all

Loading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
[ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit)
After reboot, I opened the file to check it and copied the contents below, it does show the commented line is there...

Code: Select all

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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
# This is an autoconfigured IPv6 interface
# iface wlan0 inet6 auto
        wpa-ssid TALKTALKA661B5
        wpa-psk  ********
Any idea what might be wrong?

Another thing that puzzles me is sometimes when I start the laptop, I find I am not connected to the wireless router, even though I have saved the wireless key and made sure the option
Automatically connect to this network = enabled
It doesn't happen every time but it has happened four times today.

I find I need to open Wicd Network Manager and click 'Switch on Wi-Fi' then click 'Refresh' button along the top of the Manager window. Then I see the wireless networks and then need to click Connect button each time.

I am wondering maybe I should re-install. When I installed I chose the debian-live-8.3.0-i386-lxde-desktop+nonfree.iso image. I thought it would save me pulling out the network cable. Perhaps I should chose the normal live image and then install the wireless driver manually using network cable. Do you think this would help?

This is my wireless details...

Code: Select all

hugh@hp530-Debian-8:~$ lspci
02:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 01)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
I found instructions to install the wireless driver here...
https://wiki.debian.org/iwlegacy
Do you think re-install would be best?
Last edited by hughparker1 on 2016-05-21 10:15, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#8 Post by Head_on_a_Stick »

hughparker1 wrote:Do you think re-install would be best?
Hold on, give me a chance :D

Please post the output of:

Code: Select all

lspci -knn|grep -iA2 net
dmesg|egrep 'wl|firmw|dhc'
I used to have that "LSB: Raise network interfaces" message when I used /etc/network/interfaces but only for a few seconds.
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#9 Post by hughparker1 »

Thanks for quick reply, I appreciate your help on this. here is the output....

Code: Select all

hugh@hp530-Debian-8:~$ lspci -knn|grep -iA2 net
02:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile [8086:1068] (rev 01)
	Subsystem: Hewlett-Packard Company Device [103c:30d5]
	Kernel driver in use: e100
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
	Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection [103c:135c]
	Kernel driver in use: iwl3945
hugh@hp530-Debian-8:~$ dmesg|egrep 'wl|firmw|dhc'
[    0.000000] DMI: Hewlett-Packard HP 530 Notebook PC(GH637AA#ABU)/30D5, BIOS 68MVU Ver. F.04 05/23/2007
[   15.541550] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[   15.541560] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[   15.541653] iwl3945 0000:10:00.0: can't disable ASPM; OS doesn't have ASPM control
[   15.595741] iwl3945 0000:10:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[   15.595747] iwl3945 0000:10:00.0: Detected Intel Wireless WiFi Link 3945ABG
[   15.595829] iwl3945 0000:10:00.0: irq 42 for MSI/MSI-X
[   16.025126] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
[   19.958682] wl: module license 'MIXED/Proprietary' taints kernel.
[  607.378408] iwl3945 0000:10:00.0: firmware: direct-loading firmware iwlwifi-3945-2.ucode
[  607.378429] iwl3945 0000:10:00.0: loaded firmware version 15.32.2.9
[  607.450072] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  610.560976] wlan0: authenticate with 58:1f:28:a6:61:c0
[  610.563985] wlan0: send auth to 58:1f:28:a6:61:c0 (try 1/3)
[  610.564491] wlan0: authenticated
[  610.568137] wlan0: associate with 58:1f:28:a6:61:c0 (try 1/3)
[  610.568855] wlan0: RX AssocResp from 58:1f:28:a6:61:c0 (capab=0x411 status=0 aid=1)
[  610.570865] wlan0: associated
[  610.570974] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  646.371231] wlan0: deauthenticating from 58:1f:28:a6:61:c0 by local choice (Reason: 3=DEAUTH_LEAVING)
[  646.473890] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  656.913322] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  662.236799] wlan0: authenticate with 58:1f:28:a6:61:c0
[  662.236853] wlan0: send auth to 58:1f:28:a6:61:c0 (try 1/3)
[  662.237313] wlan0: authenticated
[  662.240183] wlan0: associate with 58:1f:28:a6:61:c0 (try 1/3)
[  662.240967] wlan0: RX AssocResp from 58:1f:28:a6:61:c0 (capab=0x411 status=0 aid=1)
[  662.243020] wlan0: associated
[  662.243061] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
hugh@hp530-Debian-8:~$

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#10 Post by Head_on_a_Stick »

Let's try disabling 802.11n

Highlight the Debian entry in your GRUB menu and press "e" then add this to the end of the line that starts with "linux":

Code: Select all

iwl3945.11n_disable=1
Then press <Ctrl>+x (at the same time) to boot the modified entry.

If this fixes your problems, create a file at /etc/modprobe.d/iwl.conf (as root!) with the following content:

Code: Select all

options iwl3945 11n_disable=1
If it doesn't help, post the output of:

Code: Select all

# iwconfig wlan0
You may have to install wireless-tools to get this command.

EDIT: You can also try disabling the entire IPv6 stack by adding this to the linux line on the GRUB screen:

Code: Select all

ipv6.disable=1
If that works, add that parameter between the quotation marks on the GRUB_CMDLINE_LINUX line in the file at /etc/default/grub and then save the file and run `update-grub`
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#11 Post by hughparker1 »

I entered the text as suggested but it didn't make any difference, I did this twice to be sure but same result. (I made sure the third character was l for lima and not number 1)

Here is output for 'sudo iwconfig wlan0' as requested....

Code: Select all

hugh@hp530-Debian-8:~$ sudo iwconfig wlan0
[sudo] password for hugh: 
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
hugh@hp530-Debian-8:~$
thanks again for your patience

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#12 Post by Head_on_a_Stick »

hughparker1 wrote:I made sure the third character was l for lima and not number 1
The third field is a number one, *not* a letter ell :D
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#13 Post by hughparker1 »

I entered the text again, this time with number 1 but still no change to the boot error message and the message 'start job is running for LSB etc'

btw, I'm not sure about the third character, when I copied the text into wordpad and increased the font size, it looked like it should be letter 'l' for lima and not number 1. also when I examine the output below i.e. ' iwl3945' it does look like 'l' for lima ...

Code: Select all

hugh@hp530-Debian-8:~$ dmesg|egrep 'wl|firmw|dhc'
[    0.000000] DMI: Hewlett-Packard HP 530 Notebook PC(GH637AA#ABU)/30D5, BIOS 68MVU Ver. F.04 05/23/2007
[   15.541550] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[   15.541560] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[   15.541653] iwl3945 0000:10:00.0: can't disable ASPM; OS doesn't have ASPM control
[   15.595741] iwl3945 0000:10:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[   15.595747] iwl3945 0000:10:00.0: Detected Intel Wireless WiFi Link 3945ABG
[   15.595829] iwl3945 0000:10:00.0: irq 42 for MSI/MSI-X
sorry for going on about it, just wanted to be sure

oops, I just saw your message....
[quote= EDIT: You can also try disabling the entire IPv6 stack by adding this to the linux line on the GRUB screen:

Code: Select all

ipv6.disable=1
If that works, add that parameter between the quotation marks on the GRUB_CMDLINE_LINUX line in the file at /etc/default/grub and then save the file and run `update-grub` [/quote]

I'll try that now

EDIT: I noticed in the Wicd Network Manager, my SSID is shown twice instead of once, one for channel 36 and one for channel 5, is this normal?

User avatar
ralph.ronnquist
Posts: 342
Joined: 2015-12-19 01:07
Location: Melbourne, Australia
Been thanked: 6 times

Re: [***]A start job is running for LSB: Raise network inter

#14 Post by ralph.ronnquist »

You might also want to try commenting out the line

Code: Select all

auto wlan0
in /etc/network/interfaces.

That should stop it from attempting DHCP interactions during boot.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#15 Post by Head_on_a_Stick »

hughparker1 wrote:btw, I'm not sure about the third character, when I copied the text into wordpad and increased the font size, it looked like it should be letter 'l' for lima and not number 1. also when I examine the output below i.e. ' iwl3945' it does look like 'l' for lima ...
[...]
sorry for going on about it, just wanted to be sure
You are right to go on about it, I was confused.

The name of the module is indeed India whisky lima 3945

I thought you meant the "=1" bit at the end :oops:
hughparker1 wrote:I noticed in the Wicd Network Manager, my SSID is shown twice instead of once, one for channel 36 and one for channel 5, is this normal?
I have no idea, I use systemd to connect.

We have other forum members who are more skilled with connection issues than me; if you wait a bit they may be able to help more.

EDIT: What ralph.ronnquist said...
deadbang

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#16 Post by hughparker1 »

I have now commented out both these lines in /etc/network/interfaces ....

Code: Select all

# iface wlan0 inet6 auto
# auto wlan0
/etc/network/interfaces now looks like....

Code: Select all

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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto wlan0
iface wlan0 inet dhcp
# This is an autoconfigured IPv6 interface
# iface wlan0 inet6 auto
        wpa-ssid TALKTALKA661B5
        wpa-psk  ********
Now when i boot laptop I am not getting the last line [ ***]A start job is running for LSB:, just these lines below still appear for 15 seconds...

Code: Select all

Loading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
the last line [ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit) is no longer there which is good because that delayed things for about 1m 20s.

So does the second line 'fsck error 2 (No such file or directory)...' indicate there is still a problem with my boot process?

also each time I start the laptop, I find I am not connected to the wireless router, even though I have saved the wireless key and made sure the option
Automatically connect to this network = enabled

spacex
Posts: 637
Joined: 2015-01-17 01:27

Re: [***]A start job is running for LSB: Raise network inter

#17 Post by spacex »

@hughparker1
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
This is a issue unrelated to the other issue. Post the output of blkid, and post your fstab file , you find it in /etc...

You would get this error if you for example are trying to mount a etx3 partition as ext 4, but there could also be other reasons...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [***]A start job is running for LSB: Raise network inter

#18 Post by Head_on_a_Stick »

Just to note: I was a little tired last night so I missed the rather obvious point that if you are using WICD or NetworkManager then you can delete all the wlan0 lines in /etc/networ/interfaces and let your GUI handle the connection instead.

I have had that fsck error on a Debian system before and never got to the bottom of it :?

Please open a new thread for this problem.
deadbang

spacex
Posts: 637
Joined: 2015-01-17 01:27

Re: [***]A start job is running for LSB: Raise network inter

#19 Post by spacex »

Head_on_a_Stick wrote:Just to note: I was a little tired last night so I missed the rather obvious point that if you are using WICD or NetworkManager then you can delete all the wlan0 lines in /etc/networ/interfaces and let your GUI handle the connection instead.

I have had that fsck error on a Debian system before and never got to the bottom of it :?

Please open a new thread for this problem.
Or , if he has "/etc/network/interfaces", he could delete the custom one in "etc/network/interfaces.d".

Anyways, you are correct, it should look like this:

Code: Select all

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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

hughparker1
Posts: 177
Joined: 2014-10-09 21:53
Location: Paisley, United Kingdom

Re: [***]A start job is running for LSB: Raise network inter

#20 Post by hughparker1 »

spacex wrote:
Or , if he has "/etc/network/interfaces", he could delete the custom one in "etc/network/interfaces.d".

Anyways, you are correct, it should look like this:

Code: Select all

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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
I checked my "etc/network/interfaces.d". but there wasn't anything in that directory...

Code: Select all

hugh@hp530-Debian-8:~$ cd /etc/network/interfaces.d
hugh@hp530-Debian-8:/etc/network/interfaces.d$ ls
hugh@hp530-Debian-8:/etc/network/interfaces.d$
i did check my "/etc/network/interfaces" and it now looks like...

Code: Select all

hugh@hp530-Debian-8:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto wlan0
iface wlan0 inet dhcp
# This is an autoconfigured IPv6 interface
# iface wlan0 inet6 auto
	wpa-ssid TALKTALKA661B5
	wpa-psk  ********
hugh@hp530-Debian-8:~$ 
... so I have this extra line which doesn't appear in your example above...

Code: Select all

iface wlan0 inet dhcp
... so should I just comment this line same as I did with the other two lines before?

p.s the other thing that puzzles me is sometimes when I start the laptop, I find I am not connected to the wireless router, even though I have saved the wireless key and made sure the option
Automatically connect to this network = enabled
It doesn't happen every time but at least 50% of the time. Do you think this is the extra line 'iface wlan0 inet dhcp' in my my "/etc/network/interfaces"

p.s. I will create a new post for the "fsck error 2 (No such file or directory) "
Last edited by hughparker1 on 2016-02-13 23:34, edited 3 times in total.

Post Reply