OpenSUSE Network :: Nfs/Nis Using OS 11.3 Machine As Router
Dec 2, 2010
I had an OS 11.3 machine running as an Nis server with Nfs, also providing dns, squid, samba shares and running apache
Internet connection provided by a netgear router at 192.168.0.1, server at 192.168.0.2, clients at 192.168.0.3, 192.168.0.4, etc. The clients all being configured to use the server for dns the squid running on it for their proxy, logging on with Nis using the exported server's Nfs /home share as /home on the clients
Everything was setup through Yast with some conf file editing being done later for samba and apache and all working brilliantly
Until ...
I added another network card to the server machine and set it up as a router, where they will be placed once ready the router providing the internet connection doesn't have gigabit ethernet
So I figured if I had gigabit cards in the clients and a gigabit card in the server set up for the internal zone and providing routing, then the clients using it as their router the local stuff would be more responsive, especially as they are using an nfs share for /home
I set the clients up to use the server at 192.168.1.1 for their router and changing their own local ip addresses to suit, i.e. 192.168.1.2, 192.168.1.3 etc and rebooted
Nis and nfs were no longer working, so I logged on as the local user, ecky, who's home directory isn't in the nfs share but at /ecky, the internet connection worked fine and so did everything else, dns, proxy, etc
I tried changing the nfs share and nis server to the internal card's ip, 192.168.1.1 and that didn't work either
Samba shares work at both 192.168.0.2 and 192.168.1.1, so my problem is that nis logons and nfs mounts don't work from either address
I've tried to give as much info as possible on what I've done without being too confusing ... don't know whether I succeeded
Darned annoying cos it took me a day and a half to get the gigabit card to detect properly in one of the machines...
I setup the hostname for my linux machine to Linux. If I try ping Linux from the same computer it works. If I try from another computer inside my network the host can not be resolved. If I ping the IP from another computer it works.
I take a look in my router at DHCP client list and my linux machine doesn't have the Hostname set up.
How to broadcast the hostname to the entire network?
All settings are correct as far as i can tell. The wep key works on all my windows boxes. When i have connect automatically enabled it never tries to connect. if I go to edit it it pops kde wallet up i put in credentials. wallet goes away then nothing happens. if i double click connection to my router also nothing happens. I have the wep key in there and i even made it visible to make sure.
I'm having a strange problem with my network connection/DNS. I turn computer the on and it recognizes and connects to wireless or wired but I can't access any Internet resources or my router. If I ping the default gateway, I get no response and I get DNS errors from any network services that run at start up. If I stop and start the network daemon then it all works fine until the next time I turn on my laptop. It does this for both wireless and wired connection.
I've tried to edit the network interface information in YaST but it says that configuration is handled by knetworkmanager and I have no idea where that information is accessed. I should point out that it all worked fine until I tried to connect to open WAP at my school and couldn't so I connected to the wired network. Next morning I had this problem when connecting to my home network. My questions are 1. What could be the cause of this error and 2. where does one configure the network interfaces when using knetworkmanager
So up until I updated from Opensuse 11.3 to 11.4, I hadn't any issues with my network connection. At least none worth mentioning. Once I installed 11.4, I've had weird issues with varying lengths of connection. Sometimes I can't connect anywhere, sometimes I can only get to the router, sometimes I'm 100%. I'd fiddle with YAST until everything worked. I honestly have no clue whether or not anything I did had any effect.
Enough of the iffy history, here's what's happening now. For the past few weeks up until last night, I have been at 100% connectivity. I never turned off my computer until last night (it just shut itself off, like the cord was unplugged. I dunno what happened, maybe it was my foot, maybe the PSU. I think it has happened before.). When I turned it back on, I was only able to connect as far as my router (192.168.1.1, a D-Link Gaming router that has always been very good to me). I could not make it to my modem (192.168.0.1, a Quest DSL modem. Once I can get here, then usually I'm good to go 100%).
I tried again this afternoon, and no change. I then get the crazy idea to unplug the ethernet cable from it's PCI-card home and return it to the onboard port (which I long ago declared defunct). Immediately after plugging it into that port, I ran "ping 192.168.0.1" and I started getting returns. I open up Firefox and try to load an external page, and nothing happens. I go back to the console that I was pinging from, and it had stopped. I start pinging my router, and no luck. What I conclude from my little experiment is that the router is not at fault.
1. It did not change at all between being at 100% and being at 0% after reboot. 2. I was able to get returns from the modem, past the router, for a brief period of time while using the defunct ethernet port.
Since I never had these problems before updating to 11.4, I'm inclined to believe that it was the update that started these problems.
This is a thread I've moved over from the install forum and is hopefully more focused. Sorry if I have violated some protocol. Problem I have a new machine build configured to dual-boot Windows 7 and OPENSUSE 11.4. Network performance in Windows is very good but network performance in OPENSUSE is very poor.
I installed OpenSuSE 11.3. The only "extra" package I put in after the install was VirtualBox-ose. The firewall is disabled. I gave the machine a static IP address. I can get to the Internet from the machine. I enabled sshd to start on boot with "chkconfig sshd on" and also verified the service is running on the machine. I can ssh user@localhost from the machine as well.
When I try to connect to SSH from another machine, I get a connection refused. I verify that the firewall is down. I also try to get to VNC -- same problem: Connection refused. I ping the machine for fun. If I try to SSH again, it sometimes gives me a logon? I would check the server logs for the connection refused, but I wouldn't know where to look. I started in /var/log/messages, but nothing seemed to jump out there. I also find it strange because I can RDP to a windows guest running under VirtualBox. The Windows guest uses Bridged Network and DHCP.
I also find it interesting that I sometimes type a "ping google.com" from the 11.3 box and it will just hang - no output. Then I open firefox and get to the internet. All of a sudden, ping starts to give output. Could this be a neetwork card issue? A configuration issue? I don't know where to start.
I've set up a server using 11.3 and ISPConfig 2. The problem is that I barely understand DNS. So the question is - If I set up two domains through ISPConfig do I have the registrar have BOTH domains pointed to my IP address and then let my DNServer figure out where to send requests or do I have to have 2 different IP addresses?
Recently loaded 11.3 onto a virtual machine, however none of the network settings will allow me to connect to the internet. First time Ive had this happen, other distro's Ive experimented with connected with no problems. I recall seeing a similar topic some time ago (dont remember if it was here or another forum), but at the time, there had been no fix. Anyone know if this has been fixed?
When I had 11.0, I could ssh to my router without problems. When I switched to 11.2, I no longer could (three machines, one new, two upgraded). I have also tried from a VM 11.1. Putty in another VM also fails.
I've seen lots of other issues similar to mine on this forum and others, but had no joy in resolving this problem. I can connect to my router web interface, using both wireless and ethernet cable, but cannot connect to the internet with either.
I can't ping any IP address or hostname. When I type route into the terminal, I get:
Code: Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 255.255.255.0 UG 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 1 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
There are extra 'default' destinations in there, because of things I have tried from other posts. I have had internet working. It was working for months, but it all stopped working when I installed Skype, vpnc and kvpnc (VPN Client GUI). I don't know if this is just coincidence. I did get connected to my VPN, but shortly after installing Skype, everything outside my local network (i.e. internet and VPN) stopped working.
I'm writing this from another laptop on the local network, so the internet obviously working fine - just not from my own laptop. I'm running openSUSE 11.1 (i586), KDE 4.1.3 "release 4.10.4". And in "sysinfo:/" it says Network Status: "You are online" Like I said, internet doesn't work for both ethernet and wireless. Can't ping anything. I can access router web interface at 192.168.1.1
switched recently to 11.2 and it works fine for me as workstation I want to set up a router separating a part of the network and also acting as a firewall/proxy... Configured 2 Ethernet Interfaces, checked Ip forwarding in Yast but it does not forward the packets from the "internal" to the "external" network. Hovewer after I set up my router as default for machines on internal network I can ping the external interface but no adress on external network (particularly the one of the default router) !!! From the router I can reach both networks and the net via default gateway on external. Tried to:
a) switch firewall completely off b) iptables -P FORWARD ACCEPT c) masquarading internal adresses to the external network
my interfaces configuration looks like: eth0 Link encap:Ethernet HWaddr 00:13:D4:E3:A2:7B inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:d4ff:fee3:a27b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
On my laptop (HPDV7), using DHCP for network access, KDE4.
I use Network Manager to manage wired and wireless connectivity.
I also have Samba server running for connectivity to Windows machines.
My router runs DD-WRT.
How do I tell this HPDV7 system to propagate a Host Name up to the router?
In the DD-WRT status screen, I see Host Name as "*" associated with the assigned IP address.
I cannot, for example, ping my HPDV7 machine from my windows machine, I assume because the router (also providing DNS for my network) does not provide the name to address translation.
I CAN ping the IP address directly, and Samba connectivity from the Windows machine to HPDV7 works.
I've just recently installed opensuse after being an ubuntu user for about a year. For some reason I can't connect to my Dlink router, but I can connect to my neighbors linksys router. To be more specific it actually connects but acts as if the DNS isn't working. I can ping the router, but can't ping anything past the router. Right now the router is unsecured.
installed openSUSE 11.3 and round that both wireless and ethernet connections could connect ok to my router but couldnt access the internet. I think its a bug because I didn't have this issue in previous versions of openSUSE.
The solution is to go into the ip settings in the wireless configuration, select the option to manually assign ddresses (not DCHP) and
- enter the ip address of your router in the default gateway and DNS server addresses
- manually assign an ip address to your computer rather than have the router do it
- it has to be in the same range as your router -n normally 192.168.1.x where x can be any number not already used.
OpenSUSE 11.3 x64 KDE I dont know what happened it is a new install thats been running for 2 weeks . Now for some reason I can not access the internet or the router. Samba is working with Dolphin I can browse shares on local network both Windblows and Linux and ping local IP's. But I can NOT ping my router (the default gateway IP) with this box or access it with firefox so no internet. A VirtualBox of XP Pro running on this box has no problems with its bridged adapter getting out and seeing the router. I disabled the firewall, added gateway IP to network settings, disabled ipv 6 from the get go, added service provider dns's to nameservers tried opendns servers also.
My 11.3 keeps dropping the network connection. After a few minutes of websurfing, it decides to quit connecting to the router. The windows machine behind the same router keeps working properly. I disabled IPv6 and rebooted, but still doing same the thing. The router is the DHCP server. I have tested the CAT5e wire, and it works fine.
I installed 11.1 when it first came out. The PC I used gave up the ghost and I bought a refurbie, HP xw4100 and installed the 11.1 drive in it. All works except Internet connection. I am befuddled, bemused, confused and at a complete loss! The router on USB is not detected.
Boot Time - Status blinks, LAN is OFF and remains OFF. DSL blinks several times. Booted - Status continues and DSL blinks.
YaST (NetworkManager is useless) Network Devices - DSL Config Overview - DSL Devices - Not detected - Add - PPP over Ethernet Mode Dependent Settings - Ethernet Card - DS: Connection - Unknown - No IP address assigned - Configure Network Cards = On Hotplug Network Settings - Enable IPV6 (as previously set) - DHCP Client Options - left blank Overview - Unknown Device - IP Address - Not configured - Unknown Network Device (no hwinfo) Edit - Dynamic Address - Zeroconf Next - Loop back to Overview - Unknown Device
I'm running suse 11.1 which is configured as a router. Configured are two DSL connections with static IP's and one LAN connection (3 NIC's all together).
Problem: suse firewall will only port forward connections from one of the DSL connections and not the other.
Because I'm running two DSL connections is there something special I have to turn on/enable on the firewall?
I did a fresh install,I also enable the networkmanager.after installation,my wireless unable to connect to my router . when I click to connect , it prompt for password then after that nothing happen.
Desktop that has wireless built into motherboard worked in 11.3 (as best as I can remember, don't really use it normaly). Trying to connect to my wireless router (only one I have rights to).Wireless router is WEP with opensystem authentication, works fine for laptop (Windows)Networkmanager scans and displays local networks
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
I am running openSUSE 11.2 and just recently my network has been down. I'm using Gnome, but using Yast to configure my network (I'm usually forced to use wireless as I travel a lot on my laptop). Usually, when I'm connected to a wireless network, it will show up as so in the Gnome start menu, but recently, it will only say Wired there, even though I have nothing connected to my ethernet jack. I can connect wirelessly to a home router, but cannot use the wireless in any other way. I have tried manually disabling the ethernet connection to no avail. Unfortunately I am limited in my linux knowledge, so I am kinda stuck here.
First off How do you disable IPV6 access on all connections used on the pc-is there a way to test for ipv6 connectivity?
Secondly how secure is a default opensuse 11.04 machine out of the box? should i be making some changes to the default configuration?
Thirdly what does the default firewall settings do? on my network i use my wpa2 psk aes connection via my local wireless network-in the event that some can hack into my wireless would the opensuse firewall prevent direct access to my pc from a attacker on the same wireless subnet?
Fourthly when does opensuse 11.04 go out of date? in a year from now?
I've just spent the entire night trying to get my computer to share Internet with my laptop. I have DSL Internet with the modem configured to bridge mode. On the openSUSE server I have two NIC's. When setting up the DSL (pppoe) it created a dsl0 which is using the NIC eth0. So now I have dsl0, eth0, and eth1 I configured eth1 for DHCP server. When I connect with my laptop using DHCP it gets an IP address just fine. However I can't access the Internet. I think my problem is in the Kernel IP Routing Table. Here is the output from /sbin/route -n
[Code]...
dsl0 obtains IP from ISP eth0 is set to DHCP although that confuses me because how can the same NIC have two IP Addresses? eth1 static IP 10.30.60.1
I have an open WEP wireless internet connection with a security key. KNetworkManager can never obtain an IP address from my wireless router, but I know that the router works because Windows can connect correctly and Ubuntu's NetworkManager can connection correctly. Does anyone know what is happening? KNetworkManager just asks for my security again and again and again after it fails to connect.
Should I be able to transfer files between computers wired to the same router? Is the router bridging function used to transfer data between wired computers? I just got DSL and I'm new to networking. I have openSuse 11.4 on two computers plugged into a Belkin router. The internet connection to my ISP works from either computer. If I ping $HOSTNAME from either computer, the hostnames are different, but the IP address is the same which is that of my ISP. I only have the one router, but it has a bridging option. I don't know if it can do both bridging and routing simultaneously.
My router/adsl modem is not connected to a power supply so when power goes and comes the network will do a re-boot. Now the problem is my OpenSUSE network won't come back on! I set the static ip as Autoeth0 to eth0 however when network updates I losse eth0. Why is this happening? Why doesn't the PC simply re-connect? Can I do it via command line?
I have three machines with the same configuration. ssh and SFTP enabled on all three and I can see all three from the network. I can also ping all three. Here is what I get with the ssh debug command on the problematic machine:
linux-csp7:/home/ines # ssh -vvv ines@192.168.2.19 OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0