LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2022, 08:21 PM   #1
j.young
LQ Newbie
 
Registered: Aug 2020
Posts: 15

Rep: Reputation: Disabled
home router broadcasting but not connecting


I'm setting up a gentoo router on an SBC, specifically a seeed Odyssey X86J4125. I've been patterning the setup after these two tutorials

wiki.gentoo.org/wiki/Home_router
hallabro-kokko.se/gentoo/2019/02/27/gentoo-router.html

The OS is installed and the router can connect itself to the internet. When connect by cable or by wifi, other computers can "see" the network the router is broadcasting, but they can't connect. I have tried this with my actual router in bridge mode and in normal mode.

I am pretty new to routers and networking, and I'm really not sure how to diagnose the problem. Can any of you think of what I might test to help determine the issue?
 
Old 10-19-2022, 08:41 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
It's a shot in the dark, but the first question that comes to me is this: are the machines that won't connect in the same subnet as the router or are their (already established I'm guessing) ip addresses outside that subnet.
 
Old 10-19-2022, 09:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
What do you mean by wired computers can not connect?

Could be lots of things, firewall rules, ip_forward not enabled, dhcp server not working.

If wifi devices can see the broadcast ssid, hostapd not configured, dhcp server not correct, bridge not configured right if using one, not starting before hostapd.

https://wiki.gentoo.org/wiki/Etherne...r_and_Firewall
 
Old 10-19-2022, 10:03 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
From the author of the wiki.

Stuff I left out
Tons of important instructions.

When you say this router can connect you mean you remote or locally log on to use internet correct?
If so then we need to maybe remove go back to sharing internet via hostapad. Somewhere in step 8
 
Old 10-19-2022, 11:27 PM   #5
j.young
LQ Newbie
 
Registered: Aug 2020
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for the replies!

jefro, the router is able to access the outside network, and can access websites and such. The client computer is connected directly to the router's second ethernet port. frankbell, I think the answer to you question has to be 'no'.

michaelk, iptables, dhcpd and hostapd are running on the router. I've double check the configuration files, but maybe there's a way to query them to see if there's an issue?

jefro, I agree, it's probably an issue around step 8. I followed the gentoo wiki and installed iptables instead of nftables, so in that way I depart from the Robin Hallabro-Kokko wiki.
 
Old 10-20-2022, 03:40 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
I assume the wired computer is configured for dhcp.
Does it receive a valid ip address in the expected range?
Does it receive a gateway address that is the router's LAN address?
Does it receive the expected DNS addresses?
Can it ping the router?
Can it ping a known internet ip address?
 
Old 10-20-2022, 09:19 AM   #7
KatrinAlec
Member
 
Registered: Feb 2012
Posts: 116

Rep: Reputation: 13
is ip forwarding active?
 
1 members found this post helpful.
Old 10-22-2022, 12:44 PM   #8
j.young
LQ Newbie
 
Registered: Aug 2020
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks everyone for helping me with this. Sadly, the X86J4125 has died. I am perplexed as to the cause, I came home a few days ago and it was unresponsive. I've confirmed that the power jack is live, and I even tried powering it up through the USB. The OS was stored on the eMMC, so everything to do with this project has effectively been lost. I really appreciate the help!
 
  


Reply

Tags
configuration, gentoo, networking, router



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
Clonezilla server not working in Multicasting and Broadcasting laginagesh Linux - Software 0 09-10-2009 07:18 AM
web cam not broadcasting in gyachi-error in ioctl vidiocspict keithk2 Linux - Software 0 03-19-2007 10:58 PM
MP3 Format is NOT broadcasting on server evotux Fedora 1 02-03-2006 04:15 PM
samba broadcasting via DSL router? squido_ Linux - Networking 1 10-14-2005 02:34 PM
iptables - not broadcasting for dns queries raven02 Linux - Networking 1 06-08-2004 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration