Slackware :: Keep Static Routes After Rc.inet1 Restart?

Jun 29, 2010

Is there a standard config file for saving static routes or "ip route" commands? i lose my static routes after every "/etc/rc.d/rc.inet1 restart".rc.local wouldn't be a good idea, because it's not run automatically after "/etc/rc.d/rc.inet1 restart"

ADVERTISEMENT

Slackware :: How To Setup Persistent Static Routes

Mar 23, 2011

how to setup persistent static routes in slackware? does slackware have some text file editing method like debian or redhat. ?

View 5 Replies View Related

Fedora Networking :: Static Routes Aren't Added After Editing Routes-wlan0?

May 8, 2011

How do I add a route that doesn't go away after a reboot? I tried adding to /etc/sysconfig/network-scripts/route-wlan0 and /etc/sysconfig/static-routes but neither of them did anything when I restarted network and NetworkManager. route command does not show the new route that I added. I tried this too - routes.html and there were no errors but the new route doesn't show up with the route command.I added "192.168.13.88/255.255.255.255 via 192.168.13.101 dev wlan0"

View 2 Replies View Related

Slackware :: Wireless Keeps Dropping - Using Edited Rc.inet1.conf

Jan 22, 2011

I wanted to save a bit of ram and so removed wicd from startup. I deleted rc.wireless.conf and edited rc.inet1.conf as per the instructions. A connection is made at startup but it seem to drop quite often ( not too hard to restart, but a bit of a pain ). I am running a k-2.6.37 with a zydas usb zd1121 chip

Quote:

# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.

[Code].....

View 3 Replies View Related

Networking :: How To Setup Static Routes - Gateway ?

Jan 18, 2011

I have a temporary system up with wlan0 and eth2.

I want the eth0 address to be the gateway for accessing the internet on wlan0.

How do I setup static routes?

I'm not too keen with networking...

Code:

View 1 Replies View Related

Networking :: Setup Static IP Routes On 4 Debian Machines?

Oct 30, 2009

I have 4 debian boxes networked together through a basic 5 port switch. I am trying to simulate 2 Local Area Networks joined together by a WAN. Right now I can communicate with A <--> B, B<----> C, C<----->D. However, I cannot communicate with Host A to Host D which is the whole point of this experiment. It has to be my static routing is not right. This is a confusing area to me. Right now my routes are

[code]....

View 1 Replies View Related

Networking :: Static Routes Between Two LANS Each With Their Own ADSL Line Out

Sep 4, 2010

GNU/Linux gods, guides and superbrains.Don't be moddest. I'ts YOU i'm taking about!I'll be your humble problem-describer-pixie / solution-testing-smerf :

Andreas Vinther, 1977, from Denmark

I'm trying to establish a connection between two seperate ADSL LANs (coming into the house, but from separate ISPs) to a situation where all hosts on either LAN will be able to reach any host on eiher LAN WITHOUT having to use an excess of plastic routers around the house, and please no Wireless bridges. WiFi will only be available as Access Points.

I've heard that Debian does this kind of static routintg / RIP stuff quite well. And I just happen to have one lined up in the right place, that haven't got at snowballs chance in hell of running WINXP or above. But it kills at textbased datamanipulation/forwarding/rerouting/dropping/scanning ... so I'vew made up my mind. That is what I want to do... Now how do io get around doing stuff like that.

The Debian box is connected to both networks: Hostname: AsusAnd
(192.168.1.0/24 - TDC network)
and to
(192.168.15.0/24 - Profiber network)

Needless to say, but both netmasks are 255.25.255.0 hence the /24 The respective router's LAN addresses are 192.168.1.1 and 192.168.15.1 My Debian are locked to the following IP's (reserved DHCP):

eth0:192.158.1.56 via DHCP from 192.168.1.1
eth1:192.168.15.177 via DHCP from 192.168.15.1

So far so good - Now here we go ! This is not a scenario where i'd like to always want all network-packages to travel the shortest path, nor NESSESARILY use the other ISPs gateway if the first is down or slow, although that'll be super nice.

I suspect that'll involve router-protocols like RIP. I'll be super pleased to get some guidelines there as well, as i suspect it'll be quite easy to implement once everything else is in place. Although RIP isn't our main goal, it probably comes as a close second. I think we all would like as stable and fast a connection as possible.

I was actually so naive that i thought if i added two static routes to the two routers x.x.1.1 and x.x.15.1, that my problems would automatically be solved by my Debian box, and that it would automatically act as a gateway when the routers send their packages for the other net. As long as i was connected to both LANs at the same time.

Note: I haven't changed or tweaked the Debian kernel to do routing. this is a simple stable install from the net-inst.iso of Debian 5. I'd like to keep it that way unless there's no way around it.

my routers have static routes to each other (WITH PROPER CABLING), configured as follows:

(On router with LAN 192.168.1.1)
[static route] to 192.168.15.0 with nmask 255.255.255.0 going throuhg gateway 192.158.1.56 ( Taken from above info ) - metric around 2
Similary on my other NIC directly cabled to another switch ---and-then-to-another---> Router

[code]....

View 1 Replies View Related

Ubuntu Networking :: Static IP Defaults To Last Dhcp Until Restart?

Oct 17, 2010

I set up my interfaces file just fine on one of my computers and everything works. On my desktop its a no go. This is what I've done. I set my interfaces file to look like this

Code:

# The loopback network interface
auto lo
iface lo inet loopback

[code]....

Then I uninstalled network manager (sudo apt-get remove network-manager-gnome). Now I can restart my computer, but I do NOT get a static IP of 112, instead I get the last working dhcp given address (.104). It connects and I get internet using .104.

BUT, if I run

Code:

sudo /etc/init.d/networking restart

then it DOES work. It changes to my address .112 and the internet works. But when I get that I get an error SIOCDELRT: No such process found (or something similar to that). But after it sits, it still finished with [OK] and my internet works. Clearly something is amiss though. Because it doesn't go to the static IP imediately. I even tried setting up a rcS.d link to a file with that networking restart command, but still no go. It starts with the .101 IP.

View 9 Replies View Related

Slackware :: Static Libraries - Why Aren't They Shipped In Official Slackware Packages

Aug 12, 2010

I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?

View 11 Replies View Related

Slackware :: Static Ip With Dhcp

Feb 14, 2011

I have a home lan which has always used static IP. I now have a new modem/router which has no way to assign IP's by mac address.Is there a way to set a client up to always have the same IP when the router is assigning the IP's?

View 9 Replies View Related

Slackware :: Static IPs From Dhcp Router?

Jul 6, 2010

My ISP provides my internet via DHCP. I have a home wireless router to provide internet access, wired for my desktop machine and wireless for my laptop. My question is: Is it possible to configure the router (the Access Point) to provide internet to the desktop and the laptop via static IP? Currently I have managed to configure the internet to them via DHCP and it works. I am just curious to know whether it is possible to provide the internet for them by static IPs, given that the internet that actually goes into the Access Point (the wireless home router), is DHCP.I fiddled with this a lot yesterday, but I only managed to get a working configuraton by DHCP for both the desktop and the laptop. If I supply them with static IPs, I can only ping the Access Point, but not beyond it. So does it at all make any sense to try to configure them by static IPs, i.e. is that virtually possible?

View 10 Replies View Related

Slackware :: Setting A Static Ip From Dhcp?

Apr 30, 2010

I tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:

# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

and then I run "/etc/rc.d/rc.inet1 restart"

after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back

View 4 Replies View Related

Slackware :: 64 - Static Compilation Broken?

Apr 23, 2010

I have a weird bug : segmentation fault appears when executing the 'retq' instruction of my sigalrm callback in static link...It seems it happens only on slackware...Here is a simple test case, compiled in shared -> no problem, static -> crash...Paste the following script in a file named "test-sigalrm-pack2.sh", and execute it: it will generate the C++ source and a simple build/test script.... Just launch the build script (tst-sigalrm-build).

Code:
#!/bin/sh
#test-sigalrm-pack2.sh

[code]....

View 14 Replies View Related

Slackware :: Static IP - Ping The Router But Not The Internet

Jan 10, 2011

I am trying to get a Slackware server up and running. I got a static IP working kinda. The computer gets a response when I ping the router but not the internet. Basically it can communicate with other computers on the network but nothing outside of the network. Its not a problem with the router because I have a couple other computer with static IPs. Also the network card works fine as it can get on the internet fine normally.

[Code]....

View 9 Replies View Related

Slackware :: SlackBuild To Make Both STATIC And SHARED Wireless-tools Package?

Jan 31, 2010

I don't use wireless tools myself currently, since I'm wired to the internet; but, I found that a package I wanted to build, required at the least, a shared version of libiw, if not both the shared AND static version. Symptoms of when you are in this boat, are error messages during compiling, similar to:

Code:
/usr/lib64/libiw.a(iwlib.so): In function `iw_mwatt2dbm':
iwlib.c:(.text+0x1a77): undefined reference to `log10'
iwlib.c:(.text+0x1a84): undefined reference to `ceil'
/usr/lib64/libiw.a(iwlib.so): In function `iw_freq2float':
iwlib.c:(.text+0x1b11): undefined reference to `pow'

[Code]...

View 1 Replies View Related

Slackware :: KDE Randomly Freezing - Need To Restart?

Jan 27, 2010

I installed Slackware 13 (full install) a few days ago and every thing is working well except KDE freezes (I'd say randomly but lately it seems as if it happens after I use a KDE program or component.) and nothing works except the mouse cursor, I have to use the power on/off to reset the computer. After a reboot and fsck checks the partition that was unmounted improperly I log in delete a few bad files (.serverauth.XXXX, socket-speeedy and tmp-speedy) I'm usually able to restart KDE using startx. Googling around I think it may be my on board Intel video, dmesg id's it as the Intel 830M Chipset. BTW, this box ran Mandrake 10.1 for the last 6-7 years without problem, for what's worth.

View 14 Replies View Related

General :: Restart My USB Daemon In Slackware 13.1?

Feb 13, 2011

Just wondering how to restart my USB daemon in slackware 13.1... can't seem to find the right command anywhere

View 3 Replies View Related

Slackware :: Adding Restart And Shutdown To KDE Log Off Menu?

May 4, 2011

Running 13.37. If I am in xfce, I have the option to shutdown or restart in addition to log off. In KDE I don't. how to get them to show up.

View 5 Replies View Related

Programming :: Initialize A Static Array Of A Class In A Static Member Function?

Feb 15, 2008

What i want to do is initialize a static array that i have in class and initialize it using a static memmber function of that class. Here's what i want:[HTML]

// This is .h file
class Test
{

[code]....

However the above code doesnt compile and i want to know WHY I know that if i want to initialize the array i can do the following in .cpp file

int Test::a[size]={1,2,3,4,5,6,7,8,9,10};

However this does not solve my purpose. As if i change the value of size later i would have to make a change in this initialization as well.

View 9 Replies View Related

General :: Installed Slackware - Host Login On Restart?

Apr 10, 2011

I just installed slackware on my pc. The installation went fine (I think). When I am trying to turn the computer on, I am asked to type the "host login". As I can remember I didn't write any username, or password. But as it seems, I have to type this in to login. I tried with "root", then this comes up "root@host:^#" if this is right, what should I type here to get further...

View 6 Replies View Related

Slackware :: 13.1 Upgrade - Restart / Shutdown Button Do Not Work

Jun 17, 2010

I upgraded to 13.1 and found the restart, shutdown buttons do not work. I have to resort to the terminal commands init 6, or poweroff. I then tried to install flash plugin. I modified the slackbuild script as per normal. Then issued the following command which seemed to succeed. But when I try to play utube movie it says flash is not installed. Do I need to rebuild the system?

Code:
root@redeemer:/tmp# installpkg flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz
Verifying package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz.
Installing package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz:
Package Description:
# flash-player-plugin (flash plugin for web browsers)
# Provides Adobe Flash plugin for browsers that recognize
# /usr/lib(64)/mozilla/plugins as a valid plugin directory
# Plugin is subject to Adobe terms of use:
# [URL]
# Plugin is subject to Adobe Flash EULA:
# [URL]
# Package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz installed.

View 14 Replies View Related

Programming :: Java Non-static Variable Cannot Be Referenced From A Static Context

Feb 12, 2010

I'm having some problems on the line with ***. This is from a OpenEntidade.java class file and I'm trying to update EmprestadorView's variables.

EmprestadorView.java
public class EmprestadorView extends FrameView {
...
OpenEntidade.java
-----------------
public class OpenEntidade extends javax.swing.JFrame {

[code]....

View 2 Replies View Related

Programming :: Making A Static Lib From Objects + Static Libs?

Dec 19, 2007

I am trying to make a library that uses my other static libraries. This new library is a separate KDevelop project, and my older static libraries can be found in sdk/HoloSDK/lib/ in the home dir. So I've created a Librool library (libHoloSDK.la), and in the Target Options window, on the Libraries tab, I've added to LIBADD:

../../../sdk/HoloSDK/lib/libHGeometry.a
../../../sdk/HoloSDK/lib/libHCore.a
etc

When I compile this PublicHoloSDK project, it succeeds.

/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g0 -o libHoloSDK.la -rpath /usr/local/lib holoCore.lo holoLightfield.lo -lpthread ../../../sdk/HoloSDK/lib/libHGeometry.a ../../../sdk/HoloSDK/lib/libHNetwork.a ../../../sdk/HoloSDK/lib/libHCore.a ../../../sdk/HoloSDK/lib/libHMath.a

[code]....

Now if I copy the resulting files to /usr/local/lib64 and try to create an app based on this library, and it picks up the static version, it cannot find _any_ of the symbols that were in the older static libs. When I try and look at the lib with nm, I can see the symbols that are coming from the object files, but cannot see any of the symbols coming from the static libs. And I also have some error messages:

nm: libHGeometry.a: File format not recognized
nm: libHNetwork.a: File format not recognized
nm: libHCore.a: File format not recognized
nm: libHMath.a: File format not recognized

from which my guess is that nm "blindly" packs my static libs into the new static lib, however the assumption is that a static lib should consist of object files, right?
So how could I set my project up so that the static lib will finally contain all the symbols? (I could write a script that unpacks the objects, then repacks them, but I assume there is a simpler way I don't know about)

View 2 Replies View Related

Networking :: Routes Not Persistent ?

Sep 1, 2010

I have a ubuntu 10.04.1 install with openvpn, so I have some routes in my /etc/networking/interface file. But for what ever reason when it boots the routes don't come up and I have to restart the networking before they come up. Once I do that all is well.

View 4 Replies View Related

Fedora :: Routes Not Works In 12 And 13

Jun 17, 2010

what change in route table in Fedora 12 and 13, i have a route 2 links and its only works for fedora 11, in fedora 12 and 13 somethins change and my routes not works. Some know what i have to do to its works fine ?

View 1 Replies View Related

Networking :: Static IP Address That Has A Reverse Lookup To "myipaddress.static.lyse.net" And Not Email Domain?

Apr 26, 2010

I got this message on Friday from just one domain. uote:mailsrv.forthnet.gr #<mailsrv.forthnet.gr #5.5.0 smtp; 554 5.5.0 Your message was considered to be spam by the FORTHnet Antispamming Policy and was not delivered to the recipient. The following spam tests returned positive for this message:FORGED_RCVD_HELO,RCVD_IN_BRBL. For further information visitWe are not a spamming community but it seems we have a statice IP address that has a Reverse lookup to "myipaddress.static.lyse.net" and not my email domain. Would setting a cname mail.mydomain.no -> myipaddress.static.lyse.net cure this problem or are there more tricks to be performedOnce I have cured the FORGED_RCVD_HELO I can move to getting the IP removed from BARACUDA.

View 2 Replies View Related

Ubuntu Networking :: Routes Are Not Persistent

Sep 1, 2010

I have a ubuntu 10.04.1 install with openvpn, so I have some routes in my /etc/networking/interface file. But for what ever reason when it boots the routes don't come up and I have to restart the networking before they come up. Once I do that all is well. Any idea's why it's doing that?

View 1 Replies View Related

General :: Add Routes Before Init Scripts?

Aug 11, 2010

Our system has a large number of init scripts (over 180). When we reboot it, we need it to be reachable over the network before all the init scripts load, so putting the routes in rc.local does not work. What's the best place to put the routes so that they get added as soon as possibe?

View 4 Replies View Related

Networking :: Route 2 Subnets Between 2 Routes?

Oct 28, 2010

I have some CISCO,Linux related problem with 2 Class C subnets:

192.168.64.0 -> PC5
192.168.65.0 -> PC6

Here's a picture of my situation: [URL]

HQ has to have 2 STATIC routes in order those 2 "PCs" mentioned above to have end to end connectivity with NETWORK A and NETWORK B. Now I try with

route0 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/0
route1 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/1

And it seems to work but I don't think it's proper! I feel it's kinda wrong ... but all my other attempts to set another couple of static routes ends in "Request timed out" and thus connection lost.

View 1 Replies View Related

Networking :: Why Accept Routes In Bgp / When Have Default Gateway From ISP?

Apr 7, 2010

I am realtively new to BGP. I use BGP in my network to advertise my /20 subnet. What i would like to know is what is the point of accepting routes from your neighbouring AS(ISP)?My ISP has given me a default gateway, and no matter what I want to reach on the internet I have to go through that default gateway, so why populate the routing table with soo many routes?also, as i understand it, there are 3 kinds of routes that you can accept, those are full routes, directly connected routes and default routes. What is the diffrence between them and again how do they affect routing since my network only has the one default gateway?

View 2 Replies View Related

Networking :: Multiple Routes Based On Source IP?

Jan 29, 2010

I have 2 NICs in one box, both connected to two different routers.Is there a way to make NIC1 handle lets say 204.x.x.x and NIC2 handle the restncoming requests though.Basically, I have apache running, and I things to go through a specific NIC based on source.

View 1 Replies View Related

Networking :: What Routes To Add In Order To Make VPN Work

Feb 5, 2010

i installed the free PacketIX vpn client on my ubuntu 9.04. it created a virtual network adapter, i was able to configure and connect to the VPN service but when i add a default route to the routing table so that all internet traffic goes through the VPN, my internet connection stops working until i remove the line i added.
here's my routing table before :

Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.222.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 vpn_vpn
0.0.0.0 192.168.222.2 0.0.0.0 UG 0 0 0 eth0
and after i add the route:
[Code].....

View 2 Replies View Related

Networking :: Adding Persistent Routes In RHEL5?

May 13, 2011

At work I have been given the "opportunity" to provide admin support on a bunch of RHEL3, 4, and 5 servers. My latest problem is, as the subject hints at, adding persistent (or permanent) routes on a RHEL5 server. I've successfully done this with a couple of RHEL4 servers by adding the relevant information to the /etc/sysconfig/network-scripts/route-eth0 file like this:

GATEWAY0=xx.56.200.129
NETMASK0=255.255.255.128
ADDRESS0=xx.56.200.250

On the RHEL5 servers I do not see a route-ethX file. Do I just add the file and the route info? Or has this functionality been moved to another location?

View 2 Replies View Related

Fedora Networking :: Network-Manager PPTP Add Routes

Jan 13, 2010

I currently managed it to get a pptp-connect to my home network. now I have another little problem. NetworkManager always routes the whole network traffic over my home network if i am connected to the home network.If i set the "Use this connection only for resources on its network" I have do manually say:

Code:
route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
After that only the correct traffic runs over the vpn. Now my question is it possible to setup the route via the networkmanager gui?

View 3 Replies View Related

Ubuntu Networking :: Wrong Metric In Routes For 4 Interfaces

Apr 27, 2011

On a server with 4 network interfaces, sometimes not all 4 are plugged in. All 4 interfaces have the same IP address. Sometimes the machine cannot access the local LAN, but can access the internet via a router on the local LAN, after a reboot. What I find is that the routing table looks like this:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3
0.0.0.0 172.30.0.2 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.30.0.2 0.0.0.0 UG 2 0 0 eth1
0.0.0.0 172.30.0.2 0.0.0.0 UG 3 0 0 eth2
0.0.0.0 172.30.0.2 0.0.0.0 UG 4 0 0 eth3

On the console I cannot reach any local host, but I can reach internet hosts. Pinging the gateway router 172.30.0.2 gets no answer. When I manually change it to this:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.0.0 0.0.0.0 255.255.0.0 U 1 0 0 eth0
172.30.0.0 0.0.0.0 255.255.0.0 U 2 0 0 eth1
172.30.0.0 0.0.0.0 255.255.0.0 U 3 0 0 eth2
172.30.0.0 0.0.0.0 255.255.0.0 U 4 0 0 eth3
0.0.0.0 172.30.0.2 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.30.0.2 0.0.0.0 UG 2 0 0 eth1
0.0.0.0 172.30.0.2 0.0.0.0 UG 3 0 0 eth2
0.0.0.0 172.30.0.2 0.0.0.0 UG 4 0 0 eth3

Then all is well (can ping local hosts including the gateway router). I do have metric specified in the /etc/network/interfaces file like this:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 1

auto eth1
iface eth1 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 2

auto eth2
iface eth2 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 3

auto eth3
iface eth3 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 4

Apparently that metric setting applies only to the gateway route, not the LAN route. Is there a way to specify the LAN route metric, too?

View 1 Replies View Related

ADVERTISEMENT