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.
Hello, I have a problem with my Red Hat 9 server. I have setup the firewall to allow incoming traffic on ports: 80, 22, and 25. For webserver, ssh, and ftp. My server is not firewalled other than with its own rules, it is simply connected to the internet via a Cisco Catalyst 3500.
However, most of the time the webserver, ssh, and ftp work fine, but sometimes, I cannot reach anything. At these times it won't even accept a ping.
I am using a VA Linux server, and I was originally using the built-in LAN card, I thought that it might have been a source for the problem, so I replaced it with a known working LAN card. Yesterday, it was up for a good 8-12 hours with no problems, but no I cannot access it today.
It is really frustrating. I'm using Apache, sshd, and vsftp for my server. my ip for the server is 207.87.182.132 feel free to check it out and see what you come up with, any help would be appreciated.
Here are a few suggestions that I have received, but have not tried. I read somewhere that my network card might be setup to autonegotiate, and might be bringing the eth0 up and down because it is negotiating itself offline. ?? If I restart my server it will work fine, but restarting it 3 times a day isn't really what I'm looking for in a solution.
Also, I have access to the 3500 if there are certain configuration issues I might need to address, but a lot of the time, my server works fine.
This is my first post, so feel free to help out with any info. I will try to add more info as anyone needs it. Thanks.
Have you been cleaning out old logs in /var/log? Is your /var partition low in space? If it starts to fill up, it will make the system very sluggish as the disk is hunting for the space it can use.
# How much free drive space
df -h
# Show disk usage by current directory and all subdirectories
du | less
# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g
Well, in /dev/sda2 (my / directory), there is 29G left, in /dev/sda1 (my boot dir), there is 15MB free out of 100 total, and in my swap partition, it says, filesystem none, size 1009M, used 0, avail 1009M, mounted on /dev/shm.
I believe that my drive space is probably not the issue, but you never know.
When I did the command to sort by largest dir, my largest dirs are /usr = 857M, and my halflife server /hlds = 742, and that accounts for most of my filespace.
I think it might be helpful to mention my hardware:
36GB 10k RPM SCSI Drive
Intel 880gx system board
2GB ram
dual PIII 850
floppy/cdrom
The server is UP now, not sure why, but I will probably be putting a monitor on it soon, so I can tell when it's down, and possibly link it to a reason. Thanks!
When I run my SSH client from my windows machines, sometimes it hangs when I don't exit right away. I also notice that after these hangs, my website runs slower and slower, and the SSH will not be available. The FTP usually will stop working after that, and the website will "eventually" go down.
I use putty.exe for my windows SSH client, should I use a different program? Or possibly just use telnet? Or if it does hang, is there anything I could do to fix it w/o restarting? Thanks in advance for any help, I've printed off all the Red Hat 9 manuals and found nothing of great relavence, searched using google but couldn't find a great match either. Again, thanks in advance.
Just thought that I would let everyone know that the problem is fixed. There is a different machine on my network that was eating up the Cisco 3500's resources, so when I fixed that, I matched the settings on the switch and my server to both FULL DUPLEX 100BaseTX, and things are working great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.