Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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've been installed PMFirewall but when i try to execute it, on my console appear a lot of bad command like:
Code:
Starting PMFirewall:ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: setting MASQ timeouts failed: Protocol not available
/sbin/ipchains: invalid mask `' specified
Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information.
ipchains: Protocol not available
/sbin/ipchains: invalid mask `' specified
Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information.
ipchains: Protocol not available
/sbin/ipchains: invalid mask `' specified
Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information.
/sbin/ipchains: invalid mask `' specified
Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information.
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
/sbin/ipchains: invalid mask `' specified
Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information.
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
Done!
Internal: eth1 /
External: eth0 192.168.0.1/255.255.255.0
Lol .. ahah.
I have been disinstalled that firewall and installed gShield ..
A friend told me to rebuild the kernel in order to configure the network but i really don't know how to start with it.
I want only share my connection with a Windows machine .. is this possibile?
I'm so noob in linux and masquerating and other's stuff .. i really don't understand a thing...
You shouldn't need to recompile your kernel. If you want to share files with a Windows machine over a network install Samba. Look at www.samba.org and our own Tutorials section and www.tldp.org for configuration help.
If your only need is to share the internet connection then Firestarter (as it was suggested) is the only thing you need. You can get it here: http://www.fs-security.com/
The instructions (from the web site) are excellent, and is is easy to use and set up.
Firestarter is fantastic .. one last problem.
The dhcp in linux doesn't work: my sister's pc can't obtain an IP address from this computer .. Have I to start some services?
Well, that depends what you want to do.
I run my network on static IPs because it is a small network and its easy to maintain. Some people will argue that using DHCP is better because the dhcpd daemon will assign address "on the fly" as soon as a machine is added to the network. Windows is set up that way by default, that's why windows's machines get that address automatically.
If you want to set up automatic DHCP in Linux you need to either edit a config file (/etc/rc.d/rc.inet1.conf) and add the following:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="YES" # <-- to use DHCP add YES between quotations
DHCP_HOSTNAME[1]=""
or some distros like SuSE have a graphical interface to help you do that. It depends on your distro. Perhaps you should tell us what you are using.
OK, let's re-cap here.
Did firestarter detect your modem?
Are you able to connect to the internet with the machine that has firestarter? This is the "first" step. Once that is accomplished you may go on to troubleshoot the other machine.
So if I was you I would:
a) make sure that the firewall is recognizing the devices I have (hardware) and works with them.
You can start here: http://www.fs-security.com/docs.php
b) make sure I can connect to the internet.
c) troubleshoot other machines in the network that need to use the firewall.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.