Forum Home
Press F1
 
Thread ID: 40332 2003-12-05 03:19:00 Squid Woes in Mandrake [linux] mb0o53 (4863) Press F1
Post ID Timestamp Content User
197490 2003-12-07 01:48:00 just been talking to some people on dc and have been advised to use freesco, what do you reckon about that? [linux] mb0o53 (4863)
197491 2003-12-07 02:27:00 ok...just downloaded freesco and booted it, and have decided to stick with Mandrake :) seems very small and limited. [linux] mb0o53 (4863)
197492 2003-12-07 02:42:00 From the look of that set of error mesages, you haven't got the netwrok software running. If it was, you wouldn't be "localhost". You might not have the iptables module. :D (look down through /lib/modules/2.4.24(or something)/kernel/network ...) Graham L (2)
197493 2003-12-07 03:07:00 Yeah im localhost because i didn't set the hostname when i set it up :S and don't have a clue how to change it now...when i had a look through /lib/modules/2.4.21-0.13mdk/kernel/net this is what sub directories there were:

[root@localhost net]# ls
8021q/ ax25/ core/ ipsec/ ipx/ lapb/ packet/ wanrouter/
appletalk/ bluetooth/ decnet/ ipv4/ irda/ netlink/ rose/ x25/
atm/ bridge/ econet/ ipv6/ khttpd/ netrom/ sched/

im pretty sure i have iptables installed, but i don't run it at boot, should i?
[linux] mb0o53 (4863)
197494 2003-12-07 07:27:00 Run (as root):
lsmod

try modprobe 8139too
then run:
ifconfig

Post back the results.
Chilling_Silently (228)
197495 2003-12-07 07:41:00 [root@localhost mboose]# lsmod
Module Size Used by Not tainted
sg 34636 0 (autoclean) (unused)
st 29488 0 (autoclean) (unused)
sr_mod 16920 0 (autoclean) (unused)
sd_mod 13100 0 (autoclean) (unused)
scsi_mod 103284 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd 33856 0 (autoclean)
cdrom 31648 0 (autoclean) [sr_mod ide-cd]
ipt_MASQUERADE 2104 1 (autoclean)
ipt_mark 1016 1 (autoclean)
ipt_length 1016 1 (autoclean)
ipt_MARK 1400 18 (autoclean)
ipt_tos 984 2 (autoclean)
ipt_LOG 4280 1 (autoclean)
ipt_state 1080 2 (autoclean)
iptable_mangle 2712 1 (autoclean)
ip_conntrack_ftp 5200 1 (autoclean)
ip_nat_ftp 4016 0 (unused)
iptable_nat 21048 2 [ipt_MASQUERADE ip_nat_ftp]
ip_conntrack 27264 3 [ipt_MASQUERADE ipt_state ip_conntrack_ftp ip_nat_ftp iptable_nat]
iptable_filter 2348 1
ip_tables 14648 12 [ipt_MASQUERADE ipt_mark ipt_length ipt_MARK ipt_tos ipt_LOG ipt_state iptable_mangle iptable_nat iptable_filter]
af_packet 14952 0 (autoclean)
floppy 55132 0
8139too 17160 1 (autoclean)
mii 3832 0 (autoclean) [8139too]
3c59x 29584 1 (autoclean)
supermount 15296 2 (autoclean)
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-uhci]
rtc 8060 0 (autoclean)
ext3 59916 1
jbd 38972 1 [ext3]


[root@localhost mboose]# modprobe 8139
modprobe: Can't locate module 8139


[root@localhost mboose]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:4B:0D:F0:65
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:414 errors:0 dropped:0 overruns:0 frame:0
TX packets:460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:301030 (293.9 Kb) TX bytes:63669 (62.1 Kb)
Interrupt:11 Base address:0x1080

eth1 Link encap:Ethernet HWaddr 00:05:1C:11:AC:6C
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:15527 (15.1 Kb) TX bytes:4166 (4.0 Kb)
Interrupt:11 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6316 (6.1 Kb) TX bytes:6316 (6.1 Kb)
[linux] mb0o53 (4863)
197496 2003-12-07 07:56:00 the interfaces appear up.... and the module was:
8139too
dont forget the "too" part on the end

Try unplugging one cable then pinging another PC on the LAN, then swap netween which NIC is unplugged and ping another PC again...!
Chilling_Silently (228)
197497 2003-12-07 08:15:00 Ahh....k ill try that :)

[root@localhost root]# modprobe 8139too
[root@localhost root]#

hmm..nothing seemed to happen there.
With eth1 unplugged, and eth0 plugged in, i couldn't ping any computers on the network or the router, with eth0 unplugged, and eth1 plugged in, i could ping all computers on the network and the router.
[linux] mb0o53 (4863)
197498 2003-12-07 08:19:00 When you get all this sorted there is a very good firewall you might want to try at:

downloads.securityfocus.com

To start it at boot time, add a line to your /etc/rc.local file.

Or alternatively if a GUI firewall is your thing, try Firestarter.
JohnD (509)
197499 2003-12-07 08:33:00 try:
ping -I eth1 X.X.X.X

Where X is the IP of a PC on another LAN.

It might not have been setup in the routing table to use Eth1.....
Chilling_Silently (228)
1 2 3