RE: FC6 and Network
by Ferguson, Michael
Tom,
he's using a supernet/CIDR block/classless (or whatever you want to call
it) addressing, his valid range would be from 192.168.128.1 through
192.168.135.254 so yes his gateway exists on his network.
-----Original Message-----
From: fedora-list-bounces(a)redhat.com [mailto:fedora-list-bounces@redhat.com] On Behalf Of Timothy Murphy
Sent: Thursday, November 30, 2006 7:51 AM
To: fedora-list(a)redhat.com
Subject: RE: FC6 and Network
Ferguson, Michael wrote:
> Route -n returns
>
> Kernal IP routing table
> Destination Gateway Genmase Flags Metric Ref Use Iface
> 192.168.128.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 0.0.0.0 192.168.131.21 0.0.0.0 UG 0 0 0 eth0
I can't really contribute to the discussion, but as a matter of interest, why do you have such a strange setup?
What is eth0 (wireless or ethernet)?
And what exactly is it connected to?
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
17 years, 6 months
RE: FC6 and Network
by Ferguson, Michael
Andy,
Thanks.
Route -n returns
Kernal IP routing table
Destination Gateway Genmase Flags Metric Ref Use Iface
192.168.128.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.131.21 0.0.0.0 UG 0 0 0 eth0
'preciate it.
-----Original Message-----
From: fedora-list-bounces(a)redhat.com [mailto:fedora-list-bounces@redhat.com] On Behalf Of Andy Green
Sent: Wednesday, November 29, 2006 12:05 PM
To: For users of Fedora
Subject: Re: FC6 and Network
Ferguson, Michael wrote:
> Did I miss something here? Any pointers will be much appreciated.
What's your route table like?
route -n
-Andy
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
17 years, 6 months
Migrating to a new disk
by Hadders
Hi all,
I have an old 120GB hard disk, and a much newer, 320GB hard disk.
I'd like to migrate my linux (FC5) setup to this newer disk, and also
want to enlarge the partitions.
This may seem naive but can I....
i) Boot up using the FC5 linux rescue mode
ii) Manually partition the new disk, using fdisk
iii) Use e2label and set the labels to be the same on the new disk
partitions as the old, what is the command to tell me the current labels?
iii) Mount both the old and new disks partitions into temporary
directories I create
iv) Do a 'cp -Rv /old-part/* /new-part/' command? Will that get ALL
files, including hidden dot files?
v) Edit the new copies, fstab and alter the mount points accordingly,
that aren't using labels?
Any pointers will be appreciated.
Thank You.
Hadders
17 years, 6 months
Evolution mail notification
by Dan Track
Hi
I've installed the mail notification plugin for evolution. Currently
it notifies me any new mails, what I would like to do is click on that
notificaiton and it should open the message in my current workspace,
or at the least take me back to the workspace where evolution is
located and have teh email opened ready for me to read. What command
do I need to insert in the "when new mail arrives" option to make this
happen.
Thanks in advance
Dan
17 years, 6 months
it`s a bug or a feature ?
by GMX
[ file test.c ]
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <time.h>
#include <ctype.h>
#include <dirent.h>
#include <syslog.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/file.h>
#include <sys/stat.h>
/* FREEBSD */
#ifndef HAVE_STRNLEN
size_t strnlen(char *s, size_t maxlen)
{
size_t i;
for (i=0;i<maxlen && *s != '\0';i++,s++);
return i;
}
#endif
int main(int argc, char *argv[])
{
DIR *who;
struct dirent * ent;
who = opendir("."); // open current dir
if (who) {
while (0 != (ent = readdir(who))) {
if(!strncmp(ent->d_name,".",1) || !strncmp(ent->d_name,"..",2)) {
continue;
} else {
if(ent->d_type==4) {
printf("type (%i) - dir (%s)\n",ent->d_type,ent->d_name);
} else if(ent->d_type==8) {
printf("type (%i) - file (%s)\n",ent->d_type,ent->d_name);
} else if(ent->d_type==10) {
printf("type (%i) - link (%s)\n",ent->d_type,ent->d_name);
} else {
printf("type (%i) - unused (%s)\n",ent->d_type,ent->d_name);
}
}
}
closedir(who);
}
return 0;
}
[file Makefile]
CC=gcc
CFLAGS = -O2 -Wall -D_GNU_SOURCE -DHAVE_STRNLEN
LFLAGS = -static
OBJS = test.o
SRCS = test.c
.c.o:
$(CC) $(CFLAGS) -c $<
all: test
clean:
/bin/rm -rf *.o test
########
test: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LFLAGS) -o $@
strip test
$(OBJS): Makefile
test.o: test.c
[compile output]
core:/tmp/fedora# make
gcc -O2 -Wall -D_GNU_SOURCE -DHAVE_STRNLEN -c test.c
gcc -O2 -Wall -D_GNU_SOURCE -DHAVE_STRNLEN test.o -static -o test
strip test
core:/tmp/fedora# ls -la
insgesamt 446
drwxr-xr-x 3 root root 1024 2006-11-02 23:34 .
drwxrwxrwt 6 root root 2048 2006-11-02 23:34 ..
drwxr-xr-x 2 root root 1024 2006-11-02 23:14 dir1
lrwxrwxrwx 1 root root 4 2006-11-02 23:15 dir2 -> dir1
-rw-r--r-- 1 root root 283 2006-11-02 23:11 Makefile
-rwxr-xr-x 1 root root 445984 2006-11-02 23:34 test
-rw-r--r-- 1 root root 1134 2006-11-02 23:14 test.c
-rw-r--r-- 1 root root 1380 2006-11-02 23:34 test.o
debian3.1/ suse10(x64) / freebsd says:
core:/tmp/fedora# ./test
type (8) - file (Makefile)
type (8) - file (test.c)
type (4) - dir (dir1)
type (10) - link (dir2)
type (8) - file (test.o)
type (8) - file (test)
but fc4 (x64) says:
uname -a
Linux dev 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:16:33 EDT 2005 x86_64
x86_64 x86_64 GNU/Linux
./test
type (0) - unused (Makefile)
type (0) - unused (test.c)
type (0) - unused (dir1)
type (0) - unused (dir2)
type (0) - unused (test.o)
type (0) - unused (test)
strange :/
any comments aviable ?
/mfg tcmdk
http://ircDB.eu
17 years, 6 months
Dhcp / Dhcp-relay question
by Guillermo Garron
Hi,
I have a network at my office where i have a DHCP server, i have also
another small network at home, where my ADSL CPE can act as a DHCP
server o DHCP relay,
When acting as Server it gives the clients itself as DNS server (but
it is a bad DNS server) so I wanted to use the server at my office to
lease address trough my CPE working as dhcp-relay.
Ok,
the server at my office has to NICs
eth0 connected to the internet, and eth1 to my private network
10.1.1.0/24
My dhcpd.conf file is as follows.
ddns-update-style interim;
ignore client-updates;
authoritative;
option local-wpad code 252 = text;
subnet 10.1.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 10.1.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 10.1.1.255;
option nis-domain "foo.com";
option domain-name "foo.com";
option domain-name-servers 166.114.152.10, 4.2.2.2;
option time-offset 0; # Eastern Standard Time
option local-wpad "http://10.1.1.1/proxy.pac\n";
option netbios-name-servers 10.1.1.1;
range 10.1.1.30 10.1.1.50;
ddns-update-style none;
default-lease-time 604800;
max-lease-time 252000;
}
subnet 192.168.129.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}
When i tried to introduce here the range of the my home, following the
same model as above.
subnet the.ip.of.my.home netmask 255.255.255.240
{
etc. etc.
}
i got an error saying that, there no range configured for eth0 so
ignoring request coming to that NIC.
is this possible to do? or i am trying to do something not possible.
best regards.
Guillermo.
--
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC5, CentOS4.4 and Ubuntu 6.06)
17 years, 6 months
after FC2 -> FC6 upgrade, Samba prevents access to /home shares
by Lonni J Friedman
I've got a system that I'm stuck supporting which was recently
upgraded from FC2 to FC6. This system serves as a Samba (SMB) server
for a bunch of Windows boxes. Since the upgrade, all attempts to
browse /home (or any of its subdirectories) fail with a permission
denied error. In the samba log, the following appears:
'/home/bjohnston' does not exist or permission denied when connecting
to [bjohnston]
Error was Permission denied
Note, the FC6 system is using the same exact smb.conf as it was using
under FC2 when everything just worked. This failure happens with
either authenticated browsing or unauthenticated browsing.
Anyone have any ideas or suggestions?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama(a)gmail.com
LlamaLand http://netllama.linux-sxs.org
17 years, 6 months