Slackware :: Keep Static Routes After Rc.inet1 Restart?
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"
View 5 Replies (Posted: 06-29-2010, 08:45 AM)
Related Forum Messages For Linux category:
Fedora Networking :: Static Routes Aren't Added After Editing Routes-wlan0?
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"
Posted: 8th May 2011, 06:57 AM
View 2 Replies!
Slackware :: Wireless Keeps Dropping - Using Edited Rc.inet1.conf
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
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
Posted: 01-22-2011, 09:47 PM
View 3 Replies!
Networking :: Setup Static IP Routes On 4 Debian Machines?
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
Posted: 10-30-2009, 12:17 PM
View 1 Replies!
Networking :: Static Routes Between Two LANS Each With Their Own ADSL Line Out
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)
(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:188.8.131.52 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 184.108.40.206 ( Taken from above info ) - metric around 2
Similary on my other NIC directly cabled to another switch ---and-then-to-another---> Router
Posted: 09-04-2010, 04:41 PM
View 1 Replies!
Ubuntu Networking :: Static IP Defaults To Last Dhcp Until Restart?
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
# The loopback network interface
iface lo inet loopback
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
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.
Posted: October 17th, 2010
View 9 Replies!
Slackware :: Static Libraries - Why Aren't They Shipped In Official Slackware Packages
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?
Posted: 08-12-2010, 05:23 PM
View 11 Replies!
Slackware :: Static Ip With Dhcp
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?
Posted: 02-14-2011, 02:36 PM
View 9 Replies!
Slackware :: Static IPs From Dhcp Router?
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?
Posted: 07-06-2010, 11:00 PM
View 10 Replies!
Slackware :: Setting A Static Ip From Dhcp?
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:
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
Posted: 04-30-2010, 05:19 AM
View 4 Replies!
Slackware :: 64 - Static Compilation Broken?
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).
Posted: 04-23-2010, 04:36 PM
View 14 Replies!
Slackware :: Static IP - Ping The Router But Not The Internet
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.
Posted: 01-10-2011, 03:42 PM
View 9 Replies!
Slackware :: SlackBuild To Make Both STATIC And SHARED Wireless-tools Package?
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:
/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'
Posted: 01-31-2010, 03:49 PM
View 1 Replies!
Slackware :: KDE Randomly Freezing - Need To Restart?
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.
Posted: 01-27-2010, 05:11 PM
View 14 Replies!
Programming :: Initialize A Static Array Of A Class In A Static Member Function?
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
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
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.
Posted: 02-15-2008, 07:09 AM
View 9 Replies!
General :: Installed Slackware - Host Login On Restart?
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...
Posted: 04-10-2011, 10:46 PM
View 6 Replies!
Slackware :: 13.1 Upgrade - Restart / Shutdown Button Do Not Work
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?
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:
# 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 Flash EULA:
# Package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz installed.
Posted: 06-17-2010, 10:49 AM
View 14 Replies!
Programming :: Making A Static Lib From Objects + Static Libs?
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:
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
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)
Posted: 12-19-2007, 08:07 AM
View 2 Replies!
Networking :: Routes Not Persistent ?
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.
Posted: 09-01-2010, 08:39 PM
View 4 Replies!