OpenSUSE Network :: How To Avoid Typing Route Add Default GW
Jan 14, 2010
I have a static ip on my wired (eth0) connection. I thought I had it well set up in yast. In the routing section I do have my default gw coming up there, with the the right nw i/f (eth0) associate with it. However, when I boot up, y config seems to ignore that fact, and I have to keep goign to root and typing "route add default gw <mygwip>" each time, which is something I want to avoid. Isn't it odd that the route settings created by yast have no effect? If they did, the route would be set up on bootup and I would haven't to do that typing.
View 2 Replies
ADVERTISEMENT
Dec 5, 2009
I've been seeing a bunch of issues with the /etc/resolv.conf not picking up the nameservers for 3g connections, and managed to fix that issue using tips found here.. the one thing I m having a problwm with is my 3G USB modem not picking up a default route/gateway. I can connect using KNetworkManager, get an IP and nameservers, but.
[Code]..
And to top it all off, I cannot figure out what the default gateway should be from verizon to just write a script out myself that'll do it automatically.
View 4 Replies
View Related
Jul 11, 2010
I'm currently struggling with the following problem: Connecting to a wired network with NetworkManager (0.7.1) is no problem at all: Everything is set up automatically, including the default route:
[Code]....
When I now add the route manually it works. But as soon as the cable is plugged in, the NetworkManager overwrites the routing table entry again (which makes it quite annoying). Does anyone know a way to avoid this behaviour?
View 6 Replies
View Related
Aug 18, 2010
In 11.3, if in "/etc/sysconfig/network/ifcfg-eth0" i set DHCLIENT_SET_DEFAULT_ROUTE="no" this seems to have no effect. If i start my box, the routing table has the "default route"-entry offered by a remote DHCP-Server. More Info: My Susebox has eth0 and eth1 and both network devices should use DHCP4. But from DHCP-offer on eth0 i want to use
* "offered IP-Adress for eth0"
* "offered NTP-Server"
* "offered Host-Name"
From DHCP-offer on the eth1 i want to use
* "offered IP-Adress for eth1"
* "offered DNS-Servers"
* "offered Default Route"
View 1 Replies
View Related
Aug 17, 2011
I have been looking at how to avoid typing my firefox master password. So far no luck.
Do you know of a way to have the master password in a file on a USB stick?
I am also looking for a way to integrate keepassx with firefox. I found passifox at[URL].. It depends on keepasshttp and seems to be a windows thing.
View 2 Replies
View Related
Jul 15, 2010
How can I avoid typing a password on every admin action? example when i install a program.
View 7 Replies
View Related
Mar 26, 2009
So I have two network Interfaces
eth0 - NAT behind a router
eth1 - Public IP
When ever I restart the machine, both interfaces pull a IP, but the it randomly chooses eth0 or eth1 to have the gateway. I want the gateway to be eth0 always.
[Code]...
Is there some file or setting I can modify in Fedora10 that will always choose 192.168.1.1 on eth0 as the default gateway?
View 2 Replies
View Related
May 5, 2010
I have been encountering this problem, not only on 10.4, but on older versions too: I use a wifi router to connect my laptop to the Internet, but sometimes I need to connect directly to another computer to move some files over GLAN. But Ubuntu's Network manager doesn't allow me to configure the eth0 interface without specifying a gateway (no gateway = grey submit button), but when a gateway is specified, it always rewrites the default gw specified already by the active wifi connection and returns back after unplugging the eth cable.
Of course this can be solved by a few route commands, but this is unacceptable since it is needed to establish the cable connection without any further assistance from within and as well without replacing the default gw and thus breaking the Internet connection. Is there, please, any possibility how to prevent Network Manager from replacing these routes?
View 2 Replies
View Related
Nov 15, 2009
yesterday I installed openSUSE 11.2 on my laptop. But I'm having problem getting the wifi configured properly. During the installation I got the message "No network running" (which I also saw after the installation when using the network configuration module of YaST after switching from ifup to NetworkManager). After installation NetworkManager seemed to work fine, it detected my wifi card, found the network, and I could even connect to it. Then the problems began, no Internet connection. The first thing I tried was pinging Google which yielded an "unknown host" message. So I checked /etc/resolv.conf, to look for the DNS servers, which where missing.
I added them manually and tried again. Still no luck, so I started pinging my router, which worked, tried again pinging Google using one of there IP addresses, which failed. So I ran route to find out which routes where being used, this one gave an unexpected result, because it only showed the route to the local network (I'm not sure about the loopback one, because this was also a lot of times missing when testing):
[Code]...
View 9 Replies
View Related
Jan 5, 2011
After connecting to any host, the openssh client hangs after I type the password. The strange part is, it only hangs if when I use the wlan card. If I connect my phone to the computer and uses it to connect to my server, it works 100%.
If I use any other computer at the wireless network, it works 100%
If I use putty on the same machine, it works 100%
It is only a problem when I use the build-in wireless card, under openSuSE 11.3, on my Lenovo L512. (note that everything besides ssh works completely).
View 4 Replies
View Related
Jan 3, 2010
OpenSUSE version: 11.2 *and* 10.0 I am unable to send email. It appears I am being blocked by my ISP [URL]... A Wireshark trace shows ICMP type 3 Code 13 - "Administratively filtered". It's important to note that I don't know exactly when the problem started, because I seldom use my ISP email account, I use Yahoo web mail due to the "throwaway" nature if I get hit with spam. I only discovered the problem when testing the functionality of 11.2. I suspect the problem started several months ago: I restored openSUSE 10.0 and the problem exists there too. I wish I'd sent that last email via 10.0 before the upgrade.
The weird thing is that using Windows 2000 box I can get a successful connection using telnet (Telnet also fails on the openSUSE box.) It appears to me there is something in the Linux TCP stack that Teksavvy doesn't like. I am on dial up and I pointed this out to Teksavvy tech support, as I am probably the only person left on dialup and the reason no one else has reported the problem
View 9 Replies
View Related
Jan 25, 2010
I can connect my laptop via the ethernet cable, and get an IP, Subnet mask, and a route. But if I connect via Wireless, I get an IP and Subnet mask.
More interesting, my Internet Tablet grabs the route via wireless with out issues.
View 1 Replies
View Related
Jan 29, 2010
This is the related question in Launchpad:and it may affect to debian-installer configuration (?)How can I do to avoid that in the alternate installation partitioner doesn't appear "ext4" filesystem as the default selection in any step?This could make able to install to an encrypted independent volume, for example, without crashing partman-ext3:
View 2 Replies
View Related
Feb 1, 2010
I'm trying to move away from using /etc/rc.local for adding routes I've added
IPADDRESS0=xxx.xxx.xxx.xxx
NETMASK0=xxx.xxx.xxx.xxx
GATEWAY0=xxx.xxx.xxx.xxx
to /etc/sysconfig/network/network-scripts/route-eth0 after doing 'service network restart' I'm do see the new route as described by directive above. However, I still do not see the default gateway that's supposed to be on my box. Where/how do I define the default gateway using the route-ethX method above?
View 1 Replies
View Related
Jun 17, 2010
Half the time I click on a text box to write and star typing only to find out I'm typing somewhere other than where I clicked.It's not dwell click and the active text box seems to be related to mouseover.
View 2 Replies
View Related
Jun 7, 2011
I've not found how to configure more than one ip address with network manager.Nor with kde nor with plasmoid network manager.I need several virtual ip addresses for eth0 when the "default" of eth0 is connected i.e. "Connected to Auto eth0" should initialize the virtual interfaces.I have not found no even how to configure the ip address.I think this will be used from ifup config in yast or not?There I have the virtual interfaces but they are not taken from network manager.And last but no least: Is it possible that when using network manager the eth0 is enabled even no user has logged in?
View 4 Replies
View Related
May 11, 2009
I would like, from a C program, find the hardware MAC address of the default route path. With BASH I can do a 'route' find 'default and then an ifconfig and grep for 'HWaddr'. Are there C calls to do the same??
View 12 Replies
View Related
Jul 17, 2011
I installed openSUSE on one of my work system. The network port wasn't working when I was installing, but works fine now (checked in Windows). But for some reason, I am not able to configure the network. I used both Dynamic and Static IPs (both work fine in Windows) but still no go. I am using Yast Control Center for this purpose. I can't even ping the default gateway when I am using custom settings. When I use dynamic settings, it says Unreachable Network.
View 7 Replies
View Related
Jul 6, 2009
I have the following network/server configuration:
[Code]....
How do I prevent eth1 from being able to overwrite the default gateway that eth0 has already set?!? I read that one can create route-* files in the /etc/sysconfig/network-scripts/ directory to setup static default routes.But those seems to require one to know the IP address of the gateway, but in my case the ISP's gateway is served via DHCP and so it could vary from day to day. Here are the contents of some of the relevant files:
[code]...
View 2 Replies
View Related
Mar 22, 2011
I'm currently working with Ubuntu 10.10.I wanted to add a default route to a gateway named ppp0.I did it with the command> route add default ppp0It works ok. But then from time to time it suddenly stops and I have to go back again to the server and retype the command. I'm clueless as to why is it happening. I can assure no one is working at the server or doing anything over there.Does anyone know causes that might be triggering route default to stop working?Btw where is the best place to add this command so it will be executed automatically on start-up and without needing to login to the server?
View 5 Replies
View Related
Aug 21, 2010
I am attempting to run apache on my linux router while connected to a VPN. My default route is set to the VPN endpoint and I cannot control port forwarding at that end. I cannot seem to connect to any service that i bind to the eth0 interface. I believe that my iptables rules and OpenVPN are the source of the problem.
/sbin/iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE
/sbin/iptables -A FORWARD -i tun1 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i eth1 -o tun1 -j ACCEPT
View 5 Replies
View Related
Jan 12, 2011
I'm trying to set up load balancing using iproute2 following this guide. I've got 4 dsl links as follows:
eth1 - 100.100.100.1
eth2 - 100.100.100.2
eth3 - 100.100.100.3
eth0 - 111.111.111.111 (main uncapped line)
eth0 is the default route, and eth3 is being used for something else. So what I want to do is load balance browsing between eth1 and eth2. I've added all of the routes in the LARTC guide, but the command to enable the load balancing:
Quote:
ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1 obviously involves creating a new default route. Since I'll be using Squid to push the traffic through the relevant line, how can I set up a load-balanced link for eth1 and eth2 without changing the existing default route on the server?
View 1 Replies
View Related
Feb 28, 2010
In an attempt to get something that, well, you know, just works... I migrated a laptop to Karmic server today. Which works fine, except for one thing: when I use wvdial and a Huawei E160g USB modem to connect to the Internet (which is the only option out here in the sticks where I live) no default gateway is set. When I add one manually everything is fine, except that the default gateway keeps disappearing after a while (at irregular intervals, as far as I can see). Nothing appears in any logfile that even mentions the default route, let alone a reason for its magical vanishing trick. My wvdial.conf is fairly pedestrian:
[Code]...
What's going on here? I'm stumped. And the mighty Googlebrain doesn't seem to know, either. How do I get wvdial & friends to set the correct default route upon connecting? Given the fact that without a default route a PPP connection to a remote network is little use, I would expect this to be a standard feature and not something that I'd have to script a work-around for myself. But then, I have been wrong before. Secondly, and more importantly, why does my default route keep disappearing without a trace?
View 4 Replies
View Related
May 4, 2010
I have a home server running Lucid which basically runs our home lan, but I also wanted to be able to run transmission-daemon over an ipredator VPN connection completely independently of the ethernet port (as far as the application layer is concerned anyway). Most of the howtos for setting up VPN use the VPN as the default route, however I still wanted to run a webserver, dnsmasq etc, not to mention free bandwidth access to my ISP etc.
Thus, this howto. The ppp connection still tunnels through eth0, but as far everthing else is concerned my server has two independent network ports eth0 and ppp0 and applications use the default route via eth0 to our router unless explicitely directed down pppX. I assume that you already have transmission-daemon installed.
[Code].....
View 9 Replies
View Related
May 24, 2010
I ask your help to diagnose a problem. For business reasons I use a broadband internet connection via a mobile phone's connected via bluetooth [rfcomm]. Speed is not the maximum but it is more than sufficient for my work. For configuration of ppp I followed this guide Pon pulls up dialup, but I can't navigate also if resolv.conf and default route are correct. In addition I would like to use the NetworkManager that by default, does not see the device. I worked around the problem this way:
I modified the / etc / rc.local so that launch at boot time: # Rfcomm bind yes
After starting Lucid Lynx, bluetooth connects to the phone but NetworkManager does not see the modem.
When I run the connection manually, by: # Pon BluetoothDialup
NetworkManager sees the device, but can not use it because obviously it is locked by the ppp daemon.
So I close the connection with: # poff
Now NetworkManager sees the broadband modem via / dev/rfcomm0, dialup is performed properly. I can finally surf and just enable vpn with NetworkManager. all start automatically at boot, without the need to manually connect and disconnects the dialup to use, finally, the NetworkManager.
View 1 Replies
View Related
Jun 25, 2010
i have setup an open vpn server and when i connect to it the client pulls an IP and but not default gateway. My goal is to route all web traffic through the VPN... My config file looks like this...
Code:
dev tun
proto tcp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
[code].....
View 2 Replies
View Related
Aug 30, 2010
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
View 5 Replies
View Related
Aug 22, 2010
I've currently got a Xen box with 3 Virtual machines on it, in a routed setup. I'd like to put them all on a private internal network as well, which I'm assuming I'd do with a dummy network card and a xen bridge, but I can't find any information about setting up the xen Bridging setup on top of the existing network-route instlal.
View 1 Replies
View Related
May 19, 2011
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?
View 9 Replies
View Related
Jan 12, 2010
How to achieve such functionality:I have some server based on openSuSE 11.0 which have services as HTTP and FTP but also working as firewall-gateway.The default IP for this server is: 10.0.0.5 and with such IP working HTTP, FTP and Masqueraded computers in local area network.I did another alias in interface with IP: 10.0.0.10 and I want to change address for Masquerading computer to this IP. How I can do this with SuSEfirewall?
View 2 Replies
View Related