Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED to...disable network hardware and softw
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1186

PostPosted: Sat Sep 01, 2018 2:03 am    Post subject: SOLVED to...disable network hardware and softw Reply with quote

I am working with a new kernel

Here's the kernel config
https://paste.pound-python.org/show/CTrMyIZpC46DGjTF4Eut/



But my new kernel doesn't seem to work, and it is panicking every time the wireless interface gets loaded....maybe a conflict with wl broadcom driver???
Maybe something else I don't know.

The reason that I rebuilt the kernel was to attempt to enable nat in iptables so that I could share the internet connection from wifi over ethernet using the following command:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Initially the execution of the command outputted complaint about no nat and iptables, but since then I have followed the wiki for iptables however confusing there is what it says are the kernel changes that need to be made. They are separated into 3 categories (client, router, and I guess common for the third)... Which of these will fit my situation, and is the config above appropriate for what I'm trying to do? In terms of the kernel panic, and what might be causing it...I'm just guessing one of these things:

1) Too many or not enough kernel settings with respect to ip tables
2) It could already be resolved since I was missing a package which was net-firewall/ipset that I just installed
3) I could be needing to do some funny stuff like rebuilding the out of kernel modules for wl drivers?
4) There could be some naturally conflicting modules here with broadcom wl?
5) Or I could have misconfigured the kernel in terms of options in there. Therefore, I will shortly post my kernel configuration...once I get rebooted on that machine with older kernel....


Could someone help to look it over and tell me what may be leading to the problem with putting up my wireless interface in the first place so that I to the same panic result.

Here's the kernel log
(I can't seem to find a record of the panic in the kernel...where in the logs is that generally stored?


Last edited by LIsLinuxIsSogood on Sat Sep 01, 2018 6:58 am; edited 1 time in total
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1186

PostPosted: Sat Sep 01, 2018 6:58 am    Post subject: Reply with quote

My kernel was improperly configured and/or reinstalling the out of kernel modules helped. Whatever it was I went back over made the changes and now I am fixed up, with better results.

playboy ~ # iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum