Share internet connection/make a small server
by Antonio Olivares
Dear folks,
Recently at work, the network administrators
changed from static ip's to dhcp. They made changes
to use static dhcp using the mac address of the
machines connected to the network. Before I could
connect to the network using something like
[root@rio ~]# ifconfig eth0 10.154.20.157 netmask
255.255.248.0
[root@rio ~]# route add default gateway 10.154.16.1
[root@rio ~]# echo nameserver 10.128.0.4 >>
/etc/resolv.conf
Here's the info of that machine's connection after
system administrator connected the machine using mac
address.
[root@rio ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr
00:50:2C:A6:19:28
inet addr:10.154.19.136 Bcast:10.154.19.255
Mask:255.255.255.0
inet6 addr: fe80::250:2cff:fea6:1928/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:2511 errors:0 dropped:0
overruns:0 frame:0
TX packets:1766 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1405141 (1.3 MiB) TX bytes:307686
(300.4 KiB)
Interrupt:11 Base address:0xae00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0
frame:0
TX packets:51 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:3718 (3.6 KiB) TX bytes:3718 (3.6
KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@rio ~]#
Now I cannot get network access. Even with dhcp
enabled. The network identifies the mac address of
the machine and assigns the same ip throughout.
I want to add an extra NIC/LAN card to this machine
call it eth1 and use the machine as a host for a small
network so that I can use/share the internet access
with other machines. I ask for advice/help on this
issue. I have read the following
http://www.tldp.org/HOWTO/DHCP/index.html
and
http://www.linux-mag.com/2000-04/networknirvana_01.html
but I am not sure how to begin. I have not placed the
nic card yet on the machine but I will do so tomorrow.
The machine has Fedora Core 3 with an everything
install. What do I need to setup a mini dhcp server
from this machine?
Thanks in advance,
Antonio
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
18 years, 7 months
Bad magic number during fsck
by Smugzilla
Something really strange happened to my FC3 server running ext3 a few
days ago. It logged a "journal commit I/O error" and things started
getting screwy. The system isn't frozen, but my man pages are gone and I
can't get "ls" to show me anything. I tried running fsck last night and
got the following response:
[root@bender ~]# fsck
fsck 1.36 (05-Feb-2005)
e2fsck 1.36 (05-Feb-2005)
/: recovering journal
fsck.ext3: Bad magic number in super-block while trying to re-open /
e2fsck: io manager magic bad!
Then this morning, while typing up this message I tried fsck again and
got:
[root@bender ~]# fsck
fsck 1.36 (05-Feb-2005)
fsck.ext3: Unable to resolve 'LABEL=/'
I'm in way over my head here. Is there any way for me to fix my file
system, either using fsck or with Knoppix, or should I just backup as
much data as I can and reinstall the OS? And just as important, does
anyone know how this might have happened in the first place?
By the way, "ls" doesn't work for root, but it does work for other
users.
Thanks,
Pete S.
18 years, 7 months
Re: [TLUG]: FC4: Ways to use PalmPilot
by pking123@sympatico.ca
I found I was able to use JPilot, and it appears to do what I want.
But I seem to have run into a "feature" in FC4 which resets the
permissions on /dev/ttyS0 to 660 from 666.
I have looked through the kernel docs, and I do not suspect the
kernel is doing this. Any suggestions as to what is responsible for
resetting these permissions, and how do I make these changes
permanent?
Paul King
> Paul Mora (paulmora(a)gmail.com) wrote:
>
> Hi.
>
> I have used both Evolution, and KPilot (the KDE sync program). Both
> are pretty good, but both also have their issues.
>
> Right now, I'm using the KPilot program from KDE 3.4, and it seems to
> work well. It will sync pretty much everything, but it only syncs it
> into e KDE PIM (Kontact), and it's components (KAddressbook,
> KOrganizer, etc.)
>
> If you're looking for something exactly like the Palm desktop, look no
> further than JPilot.
>
> pm
>
> --
> Paul Mora
> email: paulmora(a)gmail.com
>
18 years, 7 months