LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network not starting (https://www.linuxquestions.org/questions/linux-networking-3/network-not-starting-4175727761/)

JinxsDad 08-05-2023 06:17 PM

Network not starting
 
I've tried everything I could remember and from the Linux docs site.

ifconfig -a shows eth0, lo, and wlan0 up.
I've started the network manager with

/etc/rc.d/rc.networkmanager start

I've done the same manually for eth0 and wlan0

etc/rc.d/rc.inetd1 eth0 start
etc/rc.d/rc.inetd1 wlan0 start

I've added both opendns servers to /etc/resolv.conf

My Android devices can all use the Internet connection, so it's not likely my cable modem / router. I'm typing this on my tablet....

At this point I've used all I remember and read in the Linux docs, and on my laptop, I still can't connect. I can't even see the router as 198.168.0.1.

I need help, please.

Thanks

___ 08-05-2023 06:40 PM

To see where I can possibly get to, I always start with:
ip r

JinxsDad 08-06-2023 06:06 AM

And I get:127.0.0.0/8dev lo scope link.

Is there a way to do a hardware diagnosis for the eth0 and wnet0?

teckk 08-06-2023 07:53 AM

If ip r gives you 127.0.0.0/8
Then you don't have a route to the outside world. The route should be the address of your internet connected device.

Does your machine have a ip address? Either fixed or given to it by a dhcp server?

Post the output of
Code:

ip a

#or

ifconfig -a

http://www.slackware.com/config/network.php
https://docs.slackware.com/slackbook:network
https://wiki.alienbase.nl/doku.php?id=slackware:network

JinxsDad 08-06-2023 08:57 AM

Quote:

Originally Posted by teckk (Post 6446636)
If ip r gives you 127.0.0.0/8
Then you don't have a route to the outside world. The route should be the address of your internet connected device.

Does your machine have a ip address? Either fixed or given to it by a dhcp server?

Post the output of
Code:

ip a

#or

ifconfig -a


IPA? Sure, but not until tonight. :-) Sorry, couldn't resist. Seriously, though, see my first post.

___ 08-06-2023 07:21 PM

Quote:

Originally Posted by JinxsDad (Post 6446580)
...
ifconfig -a shows eth0, lo, and wlan0 up.
...


I bet they aren't 'RUNNING' (flag), and they don't have a DHCP-provided IP address.

Try powering-off both the PC (& router).
(IF the wifi actuallly has a [link layer 2 vs. IP layer 3] connection 'UP' with the SSID,
my next guess is that [IDK why] the router refuses to give a DHCP to the PC!)


Code:

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.195  netmask 255.255.255.0  broadcast 192.168.1.255

Sorry, I don't have further ideas, so "over (to other LQ'ers) & out".

elgrandeperro 08-06-2023 08:59 PM

You started but did you run the NetworkManager?

JinxsDad 08-06-2023 09:03 PM

Yes, to no avail. Right now I'm just hoping the lighting didn't do any damage.

Thanks

GentleThotSeaMonkey 08-07-2023 01:20 AM

Like in #6,
What are your wlan flags=? 4163?

JinxsDad 08-07-2023 01:24 AM

Cut/pasted from the other conversation:

Select from dmesg:
audit: initializing netlink subsys (disabled)

NET: RegisteredPF_INET protocol family
IP idents hash table entries: 8192 (order: 5, 131072 bytes, linear)
TCP established hash table entries: 13072 (order 8,1048576 bytes, linear)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linesr)
TCP Hash tables configured (established 131072 bind 65536)
MPTCP token hash table entries: 16384 (order, 6, 393216 bytes, linear)
UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
NET: Registered PF_UNIX_LOCAL protocol family
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NET: Registered PF-XDP protocol family

Intel)R) Wireless WiFi driver for Linux
iwleifi 000:00:14.3: WRT: Overriding region id ([0-11,15,16,18,19,20,21,28])


protocol stuff for Bluetooth

NET: RegisteredPG_INET6 protocol family

Is that what you're looking for? If not, command line to get it?

GentleThotSeaMonkey 08-07-2023 01:28 AM

Use ip a (or ifconfig -a) and post just the number adjacent to flags=
Preferably the capitalized words inside <>
Like: <UP,BROADCAST,RUNNING,MULTICAST>

JinxsDad 08-11-2023 10:53 AM

Having run some tests from other devices on my LAN, I've come to the conclusion that a recent severe thunderstorm took out first the Cat 6 side via mutual induction, and from there, the WiFi side. So I'm buying (arrives tomorrow) a USB WiFi dongle.


All times are GMT -5. The time now is 06:18 AM.