Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
This may be a "desktop" or "networking" question instead of a "server" question, but I'm using the Linux OpenSuSE 11.0 with Samba as a file server for my 2 XP Pro boxes, and the network is "assumed" to be working (it is) at this point.
I can't surf! I can hit the Internet from both XP boxes, and I can hit the server from both XP boxes. But, I can't surf the Internet from the server. This is really no big deal, and may be a security plus. But, here's what happened...
I had everything set up and working perfectly, using our years old Belkin wired router (PPPoE on the router and the DSL modem bridged). This included surfing from all 3 machines.
We just built brand new boxes and all 3 have gigabit cards. So, I thought I'd take advantage of the gigabit for doing file transfers - especially considering that I'm moving tons of data off the desktops onto the server. The brand new D-Link broadband gigabit router would only allow the server and ONE (whichever booted up first) computer to be on the network (in the workgroup).
I made NO changes to the server or either XP box or the Belkin - but I did reconfigure the new D-Link to the IP scheme that the Belkin had (nothing worked otherwise). D-Link customer support said that if they're surfing, they don't support file/printer sharing, so I'm getting an RMA and sending back this piece of junk (it won't even respond anymore).
But, when I reconnected the Belkin for the final time (after going back & forth several times), nothing worked, even after taking it all off-line and rebooting each piece of equipment, in order.
Finally, I removed the configuraion in YaST's Network Devices - Network Settings, rebooted, then reinstalled it, and I'm now able to access the files from the XP boxes.
But, I can't hit the Internet from the OpenSuSE server, and I am surfing up a storm (& moving files to the server) from both XP boxes.
I can surf all around my server from the server browsers, but I can't get to the Internet - either with IPs or Domain Names.
I CAN surf to the router's IP address from the server, but I can't surf to Google's IP address from the server.
There's no blocked anything in the router to prevent any connected device from accessing the Internet.
The only real utility I have for surfing from the server is to update server software. I can, admittedly, do this from my desktop and save the files to the server, so I'm not losing MUCH sleep over this. But, any hints would be a HUGE help.
First thing you may want to check is if you have a default route on the server: ~$route. If not, you may want to point it at your belkin router.
Are your devices being assigned ip addresses through dhcp? Are there any logs you can check on the belkin router to confirm which machines are getting which address? What does ~$dhcpcd -d show?
First thing you may want to check is if you have a default route on the server: ~$route. If not, you may want to point it at your belkin router.
I typed in
Quote:
~$route
& it came back with
Quote:
-bash: ~: command not found
I typed in
Quote:
$route
& it came back with nothing, just the prompt.
I typed in
Quote:
route
& it came back with
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
The router is 192.168.2.1, and it does show the connections. However, it only shows mine right now (doesn't even show April's computer, even tho it's connected, has access to the Linux server, and is able to surf the Internet). It DID show all 3, but apparently, somewhere in all the booting & rebooting, it got a little confused. Now that I have everything working, I'm going to shut it all down & reboot it from scratch (yet again) & hope that everything works at least as good as it's working right now.
Quote:
Originally Posted by bmarx
Are your devices being assigned ip addresses through dhcp? Are there any logs you can check on the belkin router to confirm which machines are getting which address? What does ~$dhcpcd -d show?
Executing the command from a terminal screen {F1} and logged in as root, the response is:
Quote:
SIOCADDRT: No such process
Quote:
Originally Posted by Disillusionist
Additionally, what is in your /etc/resolv.conf file?
I'm assuming it should say:
Code:
nameserver 192.168.2.1
The file resolv.conf contains only
Code:
### BEGIN INFO
#
#
### END INFO
#
search site
It's almost as if DHCP simply doesn't exist on the computer. Mind you, it WAS working fine. I've got the OpenSUSE 11.0 and SUSE Linux Enterprise Server Bible to help guide me through this, but even the applications such as DHCP Server do not exist in my YaST interface. I did have it working, straight out of the box, but using that worthless D-Link broadband gigabit piece of trash caused me to try setting up static IPs, and now I can't get back to where I was. I sound like someone who has no clue about networking, but I've set up a good number of networks using MS products.
I THINK I should be able to setup the DHCP client using the YaST GUI, but I'm just spinning my wheels going nowhere.
Ok, I've FDISK'd (in FREEDOS) my OS drive (not touching the 4 disk RAID5 array), and reinstalled OpenSuSE from scratch, including some of the software that I failed to check when I originally installed it (file server, etc.). I had to go into Partitioner and remount the RAID5 array, and my data is still there, too (whew!).
Now, I've just got to go through the process of re-sharing the drive/folder, setting up the SMBPASSWD for each XP user, etc. But, I've got Internet access from the server. The rest is (has become) routine for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.