LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-18-2018, 06:31 AM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,BLFS,Opensuse
Posts: 70

Rep: Reputation: Disabled
LFS 8.2 stable Sysvinit Start /Stop network services ?


Hi Everyone,
I have finished all the way now with xfce4 and firefox installed and running. I now have lost all network
connections. Installed NetworkManager and Wicd. I can no longer ping anything. DHCPCD is installed also.
I didn't install the systemd version and I don't know much about init.
Thanks for any suggestions and help. Sorry to keep posting so much.


oot [ /sources ]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether d4:c9:ef:e6:71:9d brd ff:ff:ff:ff:ff:ff
inet6 fe80::af86:28f7:1a5e:2d9a/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 2c:33:7a:8a:ff:1f brd ff:ff:ff:ff:ff:ff
inet 192.168.0.15/24 brd 192.168.0.255 scope global dynamic noprefixroute wlo1
valid_lft 84287sec preferred_lft 84287sec
inet6 fe80::d05e:e1ea:28a5:c6a4/64 scope link noprefixroute
valid_lft forever preferred_lft forever
root [ /sources ]# grep CONFIG_E1000E /boot/config-4.15.3

Last edited by rabidlinux; 05-18-2018 at 06:53 AM.
 
Old 05-18-2018, 07:54 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,867

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
What a load of crap from IP.Do you have ifconfig? Post
Code:
 ifconfig -a
Lspci
done as root, not listed.

Let's also see
Code:
cat /etc/resolv.conf
route
I am suspicious that it's only looking on your own box.
 
Old 05-18-2018, 08:01 AM   #3
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,BLFS,Opensuse
Posts: 70

Original Poster
Rep: Reputation: Disabled
Hello Business Kid,
root [ /sources ]# ifconfig -a
enp0s25 Link encap:Ethernet HWaddr D4:C9:EF:E6:71:9D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:258066
Interrupt:17 Memory:d4700000-d4720000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1822 errors:0 dropped:0 overruns:0 frame:0
TX packets:1822 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131712 TX bytes:131712

wlo1 Link encap:Ethernet HWaddr 2C:33:7A:8A:FF:1F
inet addr:192.168.0.15 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3082 errors:0 dropped:0 overruns:0 frame:0
TX packets:2741 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1873561 TX bytes:351438

root [ /sources ]#

root [ /sources ]# lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 7 Series Chipset Family 4-port SATA Controller [IDE mode] (rev 04)
00:1f.5 IDE interface: Intel Corporation 7 Series Chipset Family 2-port SATA Controller [IDE mode] (rev 04)
23:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
23:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
23:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
root [ /sources ]#

root [ /sources ]# cat /etc/resolv.conf
nameserver 192.168.0.1
#nameserver 8.8.8.8.

root [ /sources ]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default modem.Home 0.0.0.0 UG 600 0 0 wlo1
169.254.0.0 * 255.255.0.0 U 1000 0 0 wlo1
192.168.0.0 * 255.255.255.0 U 600 0 0 wlo1
root [ /sources ]#
 
Old 05-19-2018, 07:29 AM   #4
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,BLFS,Opensuse
Posts: 70

Original Poster
Rep: Reputation: Disabled
Thanks for all the looks

Not fixed yet but will try a few more things and go ahead and close this thread
 
Old 05-19-2018, 02:56 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,867

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Ok. Ifconfig sees wlo1 (Gigabit thingy?) and ensp0s25, probably a WiFi thing

Resolv.conf sets a search order. It has 192.168.0.1 (hopefully router) and 8.8.8.8 (Google dns server) so that looks reasonable.

Route shows 0.0.0.0 as a default, certainly wrong. 192.168.0.1 should be the default afaict. You may function with 192.168.0.0 as a default route. The latter addresses the 192.168.0.x network, the first addresses the router. That's what you want.

169.254.0.0 shows that DHCP tried to connect but failed. If it's your router, try it with no encryption, no password. If not, remember to pass any password through wpa_passphrase. Man wpa_passphrase is your friend.

I gather that the connection is WiFi? Try 'man route' and use a few add and delete commands to get looking at 192.168.0.1 as the default. Delete the routes 0.0.0.0. & 169.254.0.0, kill the DHCP program, and try manually with
Code:
 dhcpcd epsn0s25 

OR

dhclient epsn0s25
EDIT: to do any network stuff, be root
 
Old 05-20-2018, 07:17 AM   #6
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,BLFS,Opensuse
Posts: 70

Original Poster
Rep: Reputation: Disabled
Thanks for your time B.K. I tried everything and still nothing. Me and the 8.2 SYSVINIT VERSION just don't seem to work together. Last year I built 8.1 systemd version
and had hardly any trouble.There is something I just can't get a clear understanding of the init commands like I can with systemdctl. I cloned it and will try on another
box. I spent 2 weeks on it and will give it a rest.
Thanks all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
start, stop services johnkalikavunkal Solaris / OpenSolaris 1 07-14-2008 04:43 AM
Start/Stop Services Verbal Kint Linux - General 4 06-21-2007 06:56 AM
stop and start services hoover93 SUSE / openSUSE 5 12-29-2004 02:48 PM
start and stop services log Linux - General 7 03-21-2003 08:29 PM
Start Stop Restart Services Sifvion Slackware 6 09-14-2002 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration