LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2007, 08:09 AM   #16
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46

Hey,
I tried changing the mode to half-duplex 10MBps ... still didn't work :

can you see anything weird in teh ethtool statistics of the interface?

Quote:
bash-3.1# ethtool -S eth0
NIC statistics:
tx_bytes: 24189
rx_bytes: 936317
tx_broadcast: 3
rx_broadcast: 11049
tx_multicast: 0
rx_multicast: 5
tx_unicast: 217
rx_unicast: 340
tx_mac_pause: 0
rx_mac_pause: 0
collisions: 0
late_collision: 0
aborted: 0
single_collisions: 0
multi_collisions: 0
rx_short: 0
rx_runt: 0
rx_64_byte_packets: 10683
rx_65_to_127_byte_packets: 265
rx_128_to_255_byte_packets: 43
rx_256_to_511_byte_packets: 316
rx_512_to_1023_byte_packets: 8
rx_1024_to_1518_byte_packets: 79
rx_1518_to_max_byte_packets: 0
rx_too_long: 0
rx_fifo_overflow: 0
rx_jabber: 0
rx_fcs_error: 0
tx_64_byte_packets: 14
tx_65_to_127_byte_packets: 170
tx_128_to_255_byte_packets: 24
tx_256_to_511_byte_packets: 8
tx_512_to_1023_byte_packets: 3
tx_1024_to_1518_byte_packets: 1
tx_1519_to_max_byte_packets: 0
tx_fifo_underrun: 0
 
Old 10-26-2007, 08:49 AM   #17
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
Just a few thoughts ... I'm not an expert on this by any stretch.

1) You said that removing the SEARCH line from your nameservers list (resolv.conf) stopped you accessing the intranet sites. Does it also enable your access to the web (ie internet)?

2) have you tried putting some lines in your /etc/hosts file; eg remove the "search" line from resolv.conf and instead put:
Code:
172.24.2.36 abcd
as a line in your /etc/hosts file. I think hosts is the first place checked for domain resolution.

3) do the nameservers work? Can you do eg
Code:
nslookup yahoo.com ns.yahoo.com
except for your ns.example.com.

As far as determining your MTU check out http://help.expedient.net/broadband/mtu_ping_test.shtml which shows how to use ping to send larger packets until you find one that fragments.
 
Old 10-26-2007, 09:15 AM   #18
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
I don't have direct access to internet ... I connect through an HTTP-Proxy .. squid ... so removing that line won't matter much afaik ..

anyways .. it is not a dns issue as I can get the ip of sites, as I have stressed before. see the wget logs earlier .. it is connected to the server but no response comes for a long time.


I will check up on the mtu thing.

Also, although I am nearly certain that I don't have any iptables set up.. is there any way I could make myself 100% sure?

/etc/rc.d/rc.firewall isn't executable.

Last edited by duryodhan; 10-26-2007 at 09:19 AM.
 
Old 10-26-2007, 07:46 PM   #19
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
What about other ports than port 80. Can you access email, ftp servers?

I think you'd be better re-asking in a networking group or just ask your Uni IT department. They're there to serve you!
 
Old 10-26-2007, 10:09 PM   #20
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Yeah I can access the other services. Infact, if I access the sites with https (port 443) then service is much better.

The IT Dept. has held up their hands saying that as it works in Windows, it is not their fault.
 
Old 10-26-2007, 10:38 PM   #21
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Quote:
although I am nearly certain that I don't have any iptables set up.. is there any way I could make myself 100% sure?

/etc/rc.d/rc.firewall isn't executable.
All I know is that it's very common on Slack to have the 2nd or very bottom output from: iptables -L

when there is no firewall.

But, (and in contrast) first, next, the firewall is on, alive, active in real time:


root@AB60R:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
bad_packets all -- anywhere anywhere
DROP all -- anywhere ALL-SYSTEMS.MCAST.NET
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
tcp_inbound tcp -- anywhere anywhere
udp_inbound udp -- anywhere anywhere
icmp_packets icmp -- anywhere anywhere
DROP all -- anywhere anywhere PKTTYPE = broadcast
LOG all -- anywhere anywhere limit: avg 3/min burst 3 LOG level warning prefix `INPUT packet died: '
#<snipped many more lines of -L (list) of (I guess they are) firewall rules>


root@AB60R:~# cd /usr/local/bin
root@AB60R:/usr/local/bin# pwd
/usr/local/bin

root@AB60R:/usr/local/bin# lsag fire
lrwxrwxrwx 1 root root 21 2007-09-15 23:13 firehol -> /etc/rc.d/rc.firewall*

root@AB60R:/usr/local/bin# firehol stop
Loading kernel modules ...
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.log_martians = 1
Flushing Tables ...
Firewall completely flushed! Now running with no firewall.

root@AB60R:/usr/local/bin# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@AB60R:/usr/local/bin#

This here latter, the above, iptables -L output is what that command's output looks like on my Slack 12 when there is no firewall.

--
Alan.
 
Old 11-03-2007, 08:41 AM   #22
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
oh .. I just realised ... I don't have iptables /netfilter in my kernel config .. so iptables is certainly not the problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in browsing local http sites java-student Linux - Networking 2 12-05-2006 02:14 PM
problems with win xp gateway, can FTP but not HTTP from linux station Thompsy Linux - Networking 1 06-05-2004 07:52 PM
Lan Problem from Windows to Linux marcoratto Linux - Networking 1 06-03-2004 09:35 AM
Problem creating LAN with Linux and windows XP PC kouyou Linux - Networking 1 02-29-2004 01:53 PM
Problem in creating Lan in Linux and windows environment ann6260 Linux - Networking 2 08-12-2003 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration