Re: Problem with Cable Moden & Router.
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Thu, 04 Jan 2007 01:49:36 -0600
On Thu, 04 Jan 2007 07:23:44 GMT, Mark Healey wrote:
I just tried that. The problem persists.
Are you dual booting the PC or what is your setup?
If me, I would power down modem and pc.
cable pc directly to cable modem.
powerup modem, wait for leds to settle.
boot fedora
delete the eth0 network connection and create it with automatic/dhcp
that should get you connected.
When you come back with the results of my script
please append the output of your windows settings found with
ipconfig /all
from a Command Prompt (cmd.exe)
Then we need to see some of your config file contents.
I can not get my fedora 5 to boot so I can not test this script.
But maybe we will get enough to see what is going on.
-------- standard debug network problem include text follows: ------------
If having to use windows to access Usenet:
Format a diskette on the windows system.
Copy the following into xx.txt using notepad and save to disk.
Feel free to include the #**** lines.
If using linux for usenet access, as root, copy script text into xx
chmod +x xx
../xx
and include a.txt in your reply.
#******** start of xx.txt ****************
# dump_net.txt
_out_fn=a.txt
_uid=$(id --user)
if [ $_uid -ne 0 ] ; then
echo "you need to be root to run $0"
echo "CLick up a terminal and do a"
echo "su - root"
exit 1
fi
date > $_out_fn
cat /etc/*release >> $_out_fn
echo ======== /etc/version ========== >> $_out_fn
cat /etc/version >> $_out_fn
echo " "
echo msec security level is $SECURE_LEVEL >> $_out_fn
echo ======== chkconfig --list ========== >> $_out_fn
chkconfig --list | grep :on >> $_out_fn
chkconfig --list | tail -15 >> $_out_fn
_fn=/etc/nsswitch.conf
if [ -e $_fn ] ; then
echo ======== grep hosts: $_fn ========== >> $_out_fn
grep hosts: $_fn >> $_out_fn
fi
echo ====== /etc/resolv.conf ======== >> $_out_fn
cat /etc/resolv.conf >> $_out_fn
echo ======== hostname ========== >> $_out_fn
hostname >> $_out_fn
echo "======== grep eth /etc/mod*.conf ==========" >> $_out_fn
grep eth /etc/mod*.conf >> $_out_fn
_fn=/etc/dhclient-enter-hooks
if [ -e $_fn ] ; then
echo ======== $_fn ========== >> $_out_fn
cat $_fn >> $_out_fn
fi
_fn=/etc/host.conf
echo ======== $_fn ========== >> $_out_fn
cat $_fn >> $_out_fn
echo ================ ifconfig =============== >> $_out_fn
ifconfig -a >> $_out_fn
echo ============== route ================= >> $_out_fn
route -n >> $_out_fn
echo ======== /etc/sysconfig/network ========== >> $_out_fn
cat /etc/sysconfig/network >> $_out_fn
echo ============== /etc/hosts =============== >> $_out_fn
cat /etc/hosts >> $_out_fn
for nic in 0 1 2 ; do
_fn=/etc/sysconfig/network-scripts/ifcfg-eth$nic
if [ -e $_fn ] ; then
echo ======== mii-tool -v eth$nic ========== >> $_out_fn
mii-tool -v eth$nic >> $_out_fn
echo ======== ifcfg-eth$nic ========== >> $_out_fn
cat $_fn >> $_out_fn
_fn=/var/lib/dhcp/dhclient-eth${nic}.leases
if [ -e $_fn ] ; then
echo "======== tail -18 $_fn ==========" >> $_out_fn
tail -18 $_fn >> $_out_fn
fi
_fn=/etc/dhcpc/dhcpcd-eth${nic}.info
if [ -e $_fn ] ; then
echo "======== tail -18 $_fn ==========" >> $_out_fn
tail -18 $_fn >> $_out_fn
fi
fi
done
_fn=/etc/hosts.allow
if [ -e $_fn ] ; then
echo ======== $_fn ========== >> $_out_fn
cat $_fn >> $_out_fn
fi
_fn=/etc/hosts.deny
if [ -e $_fn ] ; then
echo ======== $_fn ========== >> $_out_fn
cat $_fn >> $_out_fn
fi
echo "Copy $_out_fn to diskette with the following command"
echo "mcopy -t $_out_fn a:"
echo " "
echo "and $_out_fn is ready for windows from diskette"
#*********** end of dump xx.txt *********
and then copy xx.txt to the diskette.
Move diskette to the linux box, click up a terminal
su -l root
(root's passwd)
mcopy -a a:\xx.txt xx
chmod +x xx
../xx
Back on the windows OS, you can cut/paste the a:\a.txt into your reply
under windows.
Do not attach it.
If mcopy does not exist, you will need to load the mtools package with
urpmi mtools
or whatever your package manager command is for your distribution.
If you are dual booting the box, you can copy xx.txt to linux from windows.
Note: The following assumes /dev/hda1 is where windows is installed on the
first partition on the C: drive
mkdir /doze
mount -t auto /dev/hda1 /doze
cp "/doze/whever /xx.txt" ./xx
recode ibmpc..lat xx
umount /doze
On windows you can read linux partitions if you installed
one of these tools.
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
http://www.fs-driver.org/index.html
.
- Follow-Ups:
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- References:
- Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- From: Bit Twister
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- From: Bit Twister
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Problem with Cable Moden & Router.
- Prev by Date: Re: Problem with Cable Moden & Router.
- Next by Date: Re: Hourly beep
- Previous by thread: Re: Problem with Cable Moden & Router.
- Next by thread: Re: Problem with Cable Moden & Router.
- Index(es):
Relevant Pages
|