Configuring a network interface without the associated static route
by W. Michael Petullo
I am trying to figure out if there is a way to configure a network
interface using /etc/sysconfig/network-scripts without creating the
corresponding static route. The reason I want to do this is that I am
setting up a proxy ARP scenario similar to the one documented in [1].
What I want to avoid is creating the route below:
$ ifup eth0
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[...]
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
[...]
I want to create all static routes associated with eth0 by setting
/etc/sysconfig/network-scripts/route-eth0.
I know how to do this all by hand (i.e., using "ip route del" to delete
the route), but I'd like to do it using Fedora's network configuration
scripts.
[1] http://www.sjdjweis.com/linux/proxyarp/
--
Mike
:wq
13 years, 3 months
check, that a script is in a folder
by S Mathias
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$
So i just want to check that i'm in an exact folder. e.g.: "asdf"
What's wrong with my one-liner?
I just want to check, that a script is in a folder, and if it isn't, then it exits
13 years, 3 months
Gloobus setup
by Zoltan Hoppar
Hi guys,
I have installed the nice gloobus preview, but I couldn't know why
cant use it in system... I red that needs an patched Nautilus, but as
I saw it works from terminal - so is it possible to have some quick
keybinding workaround without this patch?
Cheers,
Zoltan
--
PGP: 06853DF7
13 years, 3 months
mpg321 in fedora 14
by paul van der meij
after a new install of fedora 14 I get a core segmentation fault when
running mpg321.
It used to work perfectly under fedora 11
any ideas ??
output from strace:
6614 open("018_Pena.mp3", O_RDONLY|O_LARGEFILE) = 3
6614 fstat64(3, {st_mode=S_IFREG|0644, st_size=6163292, ...}) = 0
6614 open("018_Pena.mp3", O_RDONLY|O_LARGEFILE) = 4
6614 fstat64(4, {st_mode=S_IFREG|0644, st_size=6163292, ...}) = 0
6614 _llseek(4, -128, [6163164], SEEK_END) = 0
6614 read(4, "TAG", 3) = 3
6614 mmap2(NULL, 6163164, PROT_READ, MAP_SHARED, 4, 0) = 0xb7234000
6614 munmap(0xb7234000, 6163164) = 0
6614 close(4) = 0
6614 mmap2(NULL, 6163164, PROT_READ, MAP_SHARED, 3, 0) = 0xb7234000
6614 close(3) = 0
6614 write(2, "\n", 1) = 1
6614 write(2, "Playing MPEG stream from 018_Pen"..., 42) = 42
6614 rt_sigaction(SIGINT, {0x8049a50, [INT], SA_RESTART}, {SIG_DFL, [INT],
SA_RESTART}, 8) = 0
6614 write(2, "MPEG 1.0 layer III, 320 kbit/s, "..., 54) = 54
6614 rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTART}, {0x8049a50, [INT],
SA_RESTART}, 8) = 0
6614 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
6614 +++ killed by SIGSEGV (core dumped) +++
apart from this everything is working fine in fedora 14
Paul
13 years, 3 months
Re: Unofficial Fedora FAQ Updated for Fedora 14!
by Joe Klemmer
On Tue, 2011-01-04 at 11:43 -0800, Max Kanat-Alexander wrote:
> Hey there Fedora land! I've updated the Unofficial Fedora FAQ for
> Fedora 14:
Whoo! And might I ad, Hoo! The best Fedora info/web site in all 'Net
is still rocking the world. ;-)
--
http://ohai.im/joe.klemmer
"And if I claim to be a wise man, well, it surly means that I don't
know." -- Kansas, "Carry on Wayward Son"
13 years, 4 months
Virtual Mac or Windows Interface
by Doll, Margaret Ann
We use a lot of Adobe software at the University. The software includes
Illustrator.
Is there a virtual way to run Mac or Windows software on a Fedora system?
Is there a good alternative to Illustrator on Fedora? How good is gimp?
13 years, 4 months
PEBCAK and frustrated stupidity still exists -- be warned!
by Bill Case
This note is just to get some frustration off my chest and to remind the
Fedora community that stupidity can reign no matter how smart you might
think you are.
Just did a virgin Fedora 14 reinstall after completely screwing up my
operating system because I thought I had a failing disk drive. The one
that has all my backups. Compounding my problems by losing grub and my
WindowsXP partition.
After spending more than a day working on it, and a couple of calls to
my vendor, my solutions got more and more inventive until I managed to
just about blow the whole machine up.
Only then, in my frustration, did I think to take the side panel off my
computer, jiggle the cables to the harddrive, remove the cable and
reattach it. Fixed everything. Now I am busy trying to get everything
back to the way I like.
No reply necessary. Just thought someone else might be in the throws of
some frustrated, non-thinking stupidity and might need a warning to
stop, take a breath, indulge in the sin of your choice and think before
doing any more damage. Particularly, try to keep screwdrivers out of
your hands at times like these.
I know you might say, I have been there, done that. Even bought the
T-shirt. But PEBAK continues exist in the best of families.
--
Regards Bill
Fedora 14, Gnome 2.32
Evo.2.32, Emacs 23.2.1
13 years, 4 months