[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Linux Router Help

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 10

File: linux-magic_1.png (235KB, 1024x768px) Image search: [Google]
linux-magic_1.png
235KB, 1024x768px
Need some help with my linux box 4chan

want to make my own router to replace my shitty micronet

my linux router has two wired nix and one wireless nix

Ive been following this video which was very helpful for getting the server setup correctly
https://www.youtube.com/watch?v=KXX5gCi0uTo

And used this guide to get wireless working "partially"
https://seravo.fi/2014/create-wireless-access-point-hostapd

SO Im a little stuck with getting wifi working
I can see my access point
I can connect
I get a IP
But I cannot get any data

Ive tried playing around with the mascaraing settings but no luck

Any help would be awesome
>>
File: router1.png (8KB, 1107x130px) Image search: [Google]
router1.png
8KB, 1107x130px
Router masquerade settings
>>
network interfaces file
>>
hostapd file
>>
File: 2016-03-24-155411_1366x768_scrot.png (174KB, 1366x768px) Image search: [Google]
2016-03-24-155411_1366x768_scrot.png
174KB, 1366x768px
Firewall rules
>>
File: 2016-03-24-155446_1366x768_scrot.png (116KB, 1366x768px) Image search: [Google]
2016-03-24-155446_1366x768_scrot.png
116KB, 1366x768px
Network interfaces
>>
Bump
Would really appreciate any help folks please :D
>>
>>85992
Did you check that the clients are getting the proper gateway address? You didn't post your dhcp server config, maybe there's a problem there. Just a guess. Are you using dnsmasq like in the blog post you linked?
>>
File: dns config1.png (36KB, 1117x407px) Image search: [Google]
dns config1.png
36KB, 1117x407px
>>86188
>>86188
Yup checked that

No didnt use dnsmasq as I thought that would be taken care of in Bind, but unsure of the config I would need to use

Didnt want to get bind9 confused (am new at this so dont laugh too hard)

I'll post the DHCP info, I can go and install dnsmasq and let you know how it goes
>>
File: dns config client options.png (34KB, 1127x388px) Image search: [Google]
dns config client options.png
34KB, 1127x388px
>>86199
>>
File: dns config interface.png (15KB, 1120x297px) Image search: [Google]
dns config interface.png
15KB, 1120x297px
>>86199
With this one I wasnt 100% if I could set it work with two nix devices

The wording to me reads like it only supports 1 device
>>
File: connected to test wifi.png (17KB, 371x444px) Image search: [Google]
connected to test wifi.png
17KB, 371x444px
>>86199
Here is the my windoze pc connected to the test wifi network
>>
>>86203
Shouldn't clients connecting to wlan0 have wlan0's IP as default gateway and DNS instead of eth1's? You're forwarding from wlan0 to eth0 and from eth1 to eth0, but it seems like your windows client would be trying to reach eth1 from wlan0, which doesn't sound right. Especially since both are on the same network, so wlan0 wouldn't even be "aware" of having to act as gateway as pass the packets along.

Maybe if you use default for default routers and dns servers in >>86200 it would take care of this, as in it would set the gateway according to which interface received the dhcp request.

The way it is right now, with you serving dhcp out of two interfaces but hardcoding one of their addresses as gateway, it seems to me like you can only get forwarding working on that one interface and not the other. I think you can also test this by switching the gateway and dns to 10.10.10.2 and seeing if it fixes forwarding from wlan0 and breaks it from eth1, which is what I imagine would happen.

BTW, I'm not an expert in networking, so I'm sorry if I'm just being an idiot and not understanding your setup.
Thread posts: 13
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.