Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem with connecting to my router. After installing a network card recently everything seemed to be ok. I could ping the router and my ISP but not a domain and hence could not get onto internet. I resolved this by entering in the gateway (of router) for primary DNS and then gateway of the ISP as a secondary DNS. Everything was fine and could get on internet etc.
I then tried to set a static IP Address and reserved this on the router and now I can no longer ping the router or get on internet.
When I try to ping I get the following message,
ping: sendmsg: Operation not permitted
I have tried all sorts of things to resolve this such as removing the network card and reinstalling in network connections and returning the router settings back to how they were when the thing was working but nothing seems to be working.
The output from mii-tool eth0 is
eth0: negotiated 100baseTx-FD, link OK
Also, when I first log into FC4 I get an error message saying "Could not look up internet address for localhost.localdomain. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding localhost.domain to the file /etc/hosts". However this error message didn't seem to have any bearing on anything when I had the network card up and running the first time.
The gateway of the router is 192.168.0.1 and that of the computer is 192.168.0.3
I've tried removing and uninstalling the network card and then putting back in etc and configuring etc and still cannot ping. The error message is not a 'host not found' or 'request time out' but that of 'Operation not permitted'.
Have tried to disable the firewall but this dosen't seem to help.
Well I disabled SELinux and it now works. Am typing this on the Linux box. But why the bloody hell was it working before without having to go through this nonsense????????
Not sure, SELinux is stupid like that. It's great in theory and when set up with all the correct policies etc it's a good system but for your average desktop I don't believe it's necessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.