A quick an easy way to find out.... without getting into iptables
apt-get install firestarter
as root run firestarter
From the window that opens chose from the first pull down menu named Firewall --> Stop Firewalll.... and try again.
hi i've just set up a small network at home..
i can get it working fine on windows but am having problems with linux..
my server is 192.168.1.10
my client is 192.168.1.11
so i went to netcardconfig and said no to dhcp and added them manually.
this was the result...
ifconfig eth0 192.168.1.11 net mask 255.255.255.0 broadcast 192.168.1.255 route add default gw 192.168.1.10
auto lol eth0
setting name server 192.168.4.100
adding name server 192.168.8.100
this is all the same as my windows settings apart from having a broadcast address... is this where i am going wrong ?
any body got any idea as to why it wont let me get on to the internet..
cheers
knoppix knewbie...
A quick an easy way to find out.... without getting into iptables
apt-get install firestarter
as root run firestarter
From the window that opens chose from the first pull down menu named Firewall --> Stop Firewalll.... and try again.
that sounds nice but i need to get it online first...
sorry if i didn't make it clear that i cannot get it online.
and download firestarter unstable (find it here) and then install it on your linux box...
...although it seems that debian servers are down because of a recent security breach.
I guess you can try to compile firestarter from source code... or read the iptables manual here
You can try this script... I have not tried myself... it is harmless... other than reversibly turning off your firewall... yeah, thats safe nowadays!.
#!/bin/bash
# Flushing and initializing the chains
iptables -F
iptables -X
iptables -Z
# This is intended for the loopback device... you can try it with eth0 (if that #is your network interface, or eth1 or whatever). If this let you get into the #internet, then you have a firewall/iptables issue, easily solved, but you #have to read the manual... if you reboot the iptables parameters will be #restored as they were before you ran this script
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUTPUT -o eth0 -j ACCEPT
my prior post is missing the first line. It should say:
Get online from another machine... and download firestarter....
also the link to the iptables HOWTO was broken.... check this one
I wouldn't advise installing a firewall before establishing basic connectivity.
Your parameters look fine to me. What does "ifconfig" report?
Can you ping the other system? (ping 192.168.1.10)
Also is this other system a windows box? Is it actually set up to allow routing?
The prior post is very wise indeed....
However sometimes a firewall gets installed without us knowing/notizing...
So, if thats the case, and for whatever reason you do have a firewall problem, you can try the above suggestions to rule that out... then again, the problem can be many other things, but if you cannot ping another machine, it is wise (and simple) to rule out a firewall problem (not an unfrequent networking "problem")...
There are no firewalls set up by default on knoppix. You should do this. Make sure your card is detected. Look at the output of lspci from a shell. Does it show your card? You might also look at the output of dmesg. Double check the network settings you are plugging in. If this all looks good, then check the cable you are using from the machine to the router. Is the cable good? Are you using the right kind of cable: straight ethenet? crossover? I'm not exactly sure how you have things set up so you need to check these things out.
For Lenovo ideapad 5 15IIL05 15ARE05 15ITL05 15ALC05 Lcd Back Cover Rear Lid NEW
$49.98
~OVERSTOCK~ 15.6" Lenovo ThinkPad Laptop: Intel i5 8GB RAM 256GB SSD Win 10
$169.99
~TOUCHSCREEN~ 2-in-1 Lenovo ThinkPad Yoga Laptop: Intel i5 8GB RAM 256GB SSD
$214.99
Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home
$186.99
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$339.99
Lenovo Ideapad 1 15Amn7 15.6" Laptop Ryzen 3 7320U 8GB 256GB SSD W11H-64
$189.99
Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10
$60.00
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1399.99
Lenovo IdeaPad Flex 5 Chrome 14IAU7 i3-1215U 8GB 256GB SSD Chrome OS
$199.99
Lenovo Notebook IdeaPad 1 Laptop, N6000, 4GB, 128GB eMMC, Win 11 Home-Certified
$229.49