LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem with redhat 8.0 network (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-redhat-8-0-network-73112/)

broodman 07-15-2003 10:56 PM

problem with redhat 8.0 network
 

I am new to linux world and I can not figure out why my DSL does not work anyway. so far, I got three questions.

Question one:
I have tried to setup verizon DSL connection to my redhat 8.0 running IBM Laptop (thankpad A 31) from last week. I searched on google, forums, and I did find some people's successful experience how they setup DSL in redhat 7.x or 8.0. I try to follow their instruction, and before I type "adsl-start", everything looks fine. but once I type "adsl-start" it comes up the folloing message:

#############
[root@localhost src]# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 193: 21543 Terminated $CONNECT "$@" >/dev/null 2>&1
##############

(here the number "21543" may change)
at the end of this post, I posted the way I did the setup, maybe you guys can figure out what is wrong.
and another thing I am not sure is the answers to adsl-setup. I am using verizon DSL.

What should I put for the logon name: just "username", or "username@www.verizon.net" or anything else?
what shoult I put for the DSN server: just put "server" or "anything else"?




Question two:
I have dual boot system: Windows XP and redhat 8.0. I can mount XP partition, and read the file. but this partion is always read-only for me, even I logon as root. and the /etc/fstab looks like this:

######################
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/windows_XP ntfs auto,users,umask=000 0 0
######################

how can XP partition become writable?


Question three:

When I configure the network by type "redhat-config-network"when I configure the network without start a termital, sometimes it comes up a lot of warning massage, and I can't not apply my setting because when I click "apply", it responded by a new window which give me three choice, "save", "debug", or "quit"? (if I choose save, it will save the warning message to a dump file. if I choose "debug", the mechine did nothing, and If I choose quit, it quit without save the change. here is the dump file generated after I choose save:

##########################
Traceback (most recent call last):
File "/usr/sbin/neat", line 496, in on_applyButton_clicked
self.save()
File "/usr/sbin/neat", line 319, in save
self.saveDevices()
File "/usr/sbin/neat", line 326, in saveDevices
devicelist.save()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py", line 145, in save
os.write(fp2, ipc.network()+'/'+ipc.prefix()+" via "+route.Gateway+"\n")
File "/usr/sbin/../share/redhat-config-network/netconfpkg/ipcalc.py", line 58, in network
self.prefix()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/ipcalc.py", line 41, in prefix
self._prefix = re.match("PREFIX=(\d+)", text).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'

Local variables in innermost frame:
text:
self: <netconfpkg.ipcalc.IPCalc instance at 0x848b31c>
/tmp/dump (END)
##########################


And When I configure the network by type "redhat-config-network" and begin to change some settings, it also comes up warning message like this:

##########################
root@localhost redhat]# redhat-config-network
Copying ifcfg-ppp0 to devices and putting it into the default profile.

(neat:18051): Gtk-WARNING **: /usr/lib/gtk-2.0/2.0.0/engines/libmetal.so: undefined symbol: gtk_toggle_button_get_type

** (neat:18051): WARNING **: could not find handler `on_dialupPasswordEntry_changed'

** (neat:18051): WARNING **: could not find handler `on_dialupLoginNameEntry_activate'

** (neat:18051): WARNING **: could not find handler `on_routeAddButton_clicked'

** (neat:18051): WARNING **: could not find handler `on_routeDeleteButton_clicked'

** (neat:18051): WARNING **: could not find handler `on_routeEditButton_clicked'

** (neat:18051): WARNING **: could not find handler `on_hardwareAliasesToggle_toggled'

** (neat:18051): WARNING **: could not find handler `on_hardwareProbeButton_clicked'

** (neat:18051): WARNING **: could not find handler `on_hardwareMACToggle_toggled'

** (neat:18051): WARNING **: could not find handler `on_hardwareAliasesToggle_toggled'

** (neat:18051): WARNING **: could not find handler `on_ipStaticRadio_toggled'

** (neat:18051): WARNING **: could not find handler `on_ipAutomaticRadio_toggled'

** (neat:18051): WARNING **: could not find handler `on_hardwareProbeButton_clicked'

** (neat:18051): WARNING **: could not find handler `on_hardwareMACToggle_toggled'
ipcalc: ip address expected
Usage: ipcalc [OPTION...]
-b, --broadcast Display calculated broadcast address
-h, --hostname Show hostname determined via DNS
-m, --netmask Display default netmask for IP (class A, B, or C)
-n, --network Display network address
-p, --prefix Display network prefix
-s, --silent Don't ever display error messages

Help options:
-?, --help Show this help message
--usage Display brief usage message
[root@localhost redhat]#

#######################



thanks for reading. if you have any suggestion, you can either just reply or sent email to: broodman00@yahoo.com. thanks again.






the following lines is copyed from terminal, which shows how I try to setup DSL.
###########################################################

[root@localhost pppoe]# tar xvfz rp-pppoe-3.5.tar.gz
rp-pppoe-3.5/
rp-pppoe-3.5/README
rp-pppoe-3.5/SERVPOET
rp-pppoe-3.5/go
rp-pppoe-3.5/go-gui
rp-pppoe-3.5/rp-pppoe.spec
rp-pppoe-3.5/gui/
rp-pppoe-3.5/gui/en.msg
rp-pppoe-3.5/gui/ja.msg
rp-pppoe-3.5/gui/Makefile.in
rp-pppoe-3.5/gui/tkpppoe.in
rp-pppoe-3.5/gui/wrapper.c
rp-pppoe-3.5/gui/tkpppoe.1
rp-pppoe-3.5/gui/pppoe-wrapper.1
rp-pppoe-3.5/gui/html/
rp-pppoe-3.5/gui/html/mainwin-busy.png
rp-pppoe-3.5/gui/html/mainwin-nonroot.png
rp-pppoe-3.5/gui/html/mainwin.png
rp-pppoe-3.5/gui/html/props-advanced.png
rp-pppoe-3.5/gui/html/props-basic.png
rp-pppoe-3.5/gui/html/props-nic.png
rp-pppoe-3.5/gui/html/props-options.png
rp-pppoe-3.5/gui/html/tkpppoe.html
rp-pppoe-3.5/configs/
rp-pppoe-3.5/configs/firewall-masq
rp-pppoe-3.5/configs/firewall-standalone
rp-pppoe-3.5/configs/pap-secrets
rp-pppoe-3.5/configs/pppoe-server-options
rp-pppoe-3.5/configs/pppoe.conf
rp-pppoe-3.5/doc/
rp-pppoe-3.5/doc/CHANGES
rp-pppoe-3.5/doc/KERNEL-MODE-PPPOE
rp-pppoe-3.5/doc/HOW-TO-CONNECT
rp-pppoe-3.5/doc/LICENSE
rp-pppoe-3.5/doc/PROBLEMS
rp-pppoe-3.5/man/
rp-pppoe-3.5/man/adsl-connect.8
rp-pppoe-3.5/man/adsl-setup.8
rp-pppoe-3.5/man/adsl-start.8
rp-pppoe-3.5/man/adsl-status.8
rp-pppoe-3.5/man/adsl-stop.8
rp-pppoe-3.5/man/pppoe-server.8
rp-pppoe-3.5/man/pppoe-sniff.8
rp-pppoe-3.5/man/pppoe.8
rp-pppoe-3.5/man/pppoe-relay.8
rp-pppoe-3.5/man/pppoe.conf.5
rp-pppoe-3.5/scripts/
rp-pppoe-3.5/scripts/adsl-connect.in
rp-pppoe-3.5/scripts/adsl-init-suse.in
rp-pppoe-3.5/scripts/adsl-init-turbolinux.in
rp-pppoe-3.5/scripts/adsl-init.in
rp-pppoe-3.5/scripts/adsl-setup.in
rp-pppoe-3.5/scripts/adsl-start.in
rp-pppoe-3.5/scripts/adsl-stop.in
rp-pppoe-3.5/scripts/adsl-status
rp-pppoe-3.5/src/
rp-pppoe-3.5/src/Makefile.in
rp-pppoe-3.5/src/install-sh
rp-pppoe-3.5/src/common.c
rp-pppoe-3.5/src/config.h.in
rp-pppoe-3.5/src/configure
rp-pppoe-3.5/src/configure.in
rp-pppoe-3.5/src/debug.c
rp-pppoe-3.5/src/discovery.c
rp-pppoe-3.5/src/if.c
rp-pppoe-3.5/src/md5.c
rp-pppoe-3.5/src/md5.h
rp-pppoe-3.5/src/ppp.c
rp-pppoe-3.5/src/pppoe-server.c
rp-pppoe-3.5/src/pppoe-sniff.c
rp-pppoe-3.5/src/pppoe.c
rp-pppoe-3.5/src/pppoe.h
rp-pppoe-3.5/src/pppoe-server.h
rp-pppoe-3.5/src/plugin.c
rp-pppoe-3.5/src/relay.c
rp-pppoe-3.5/src/relay.h
rp-pppoe-3.5/src/libevent/
rp-pppoe-3.5/src/libevent/Makefile.in
rp-pppoe-3.5/src/libevent/event.c
rp-pppoe-3.5/src/libevent/event.h
rp-pppoe-3.5/src/libevent/event_tcp.c
rp-pppoe-3.5/src/libevent/event_tcp.h
rp-pppoe-3.5/src/libevent/eventpriv.h
rp-pppoe-3.5/src/libevent/hash.c
rp-pppoe-3.5/src/libevent/hash.h
rp-pppoe-3.5/src/libevent/event_sig.c
rp-pppoe-3.5/src/plugin/
[root@localhost pppoe]# cd ./rp-pppoe-3.5
[root@localhost rp-pppoe-3.5]# ls
configs doc go go-gui gui man README rp-pppoe.spec scripts SERVPOET src
[root@localhost rp-pppoe-3.5]# ./go
Running ./configure...
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/dlpi.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for net/if_arp.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... (cached) yes
checking for netpacket/packet.h... (cached) yes
checking for net/ethernet.h... (cached) yes
checking for asm/types.h... (cached) yes
checking for linux/if_packet.h... (cached) yes
checking for linux/if_ether.h... (cached) yes
checking for linux/if_pppox.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for linux/if.h... (cached) yes
checking for net/if.h... (cached) yes
checking for net/if_dl.h... (cached) no
checking for net/if_ether.h... (cached) no
checking for net/if_types.h... (cached) no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for echo... (cached) /bin/echo
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for 8-bit clean memcmp... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking return type of signal handlers... (cached) void
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strerror... (cached) yes
checking for strtol... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking for pppd... (cached) /usr/sbin/pppd
checking for setsid... (cached) /usr/bin/setsid
checking for id... (cached) /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... no
checking packing order of bit fields... reversed
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h
config.h is unchanged

On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay

Type 'make' to compile the software.
Running make...

Type 'make install' as root to install the software.
Running make install...

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 -s pppoe /usr/sbin
/usr/bin/install -c -m 755 -s pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 -s licensed-only/pppoe-server-control /usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 -s pppoe-relay /usr/sbin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 -s pppoe-sniff /usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/adsl-connect /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-start /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-status /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-stop /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-setup /usr/sbin
mkdir -p /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/CHANGES /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/LICENSE /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../README /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../SERVPOET /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../configs/pap-secrets /usr/doc/rp-pppoe-3.5
mkdir -p /usr/man/man8
for i in pppoe pppoe-server pppoe-sniff pppoe-relay ; do \
if test -f ../man/$i.8 ; then \
/usr/bin/install -c -m 644 ../man/$i.8 /usr/man/man8 || exit 1; \
fi; \
done
/usr/bin/install -c -m 644 ../man/adsl-start.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-stop.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-status.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-connect.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-setup.8 /usr/man/man8
mkdir -p /usr/man/man5
/usr/bin/install -c -m 644 ../man/pppoe.conf.5 /usr/man/man5
mkdir -p /etc/ppp
mkdir -p /etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /etc/ppp/plugins/README
NOT overwriting existing /etc/ppp/pppoe.conf
NOT overwriting existing /etc/ppp/firewall-standalone
NOT overwriting existing /etc/ppp/firewall-masq
NOT overwriting existing /etc/ppp/pppoe-server-options
Looks like a Red Hat system; installing /etc/rc.d/init.d/adsl
# L2TP

Type 'adsl-setup' to configure the software.








#### (here, I type adsl-setup)



















Welcome to the Roaring Penguin ADSL client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good! Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default vze6k40t): vze6k40t@verizon online

INTERFACE

>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0):

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no): no

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: server

PASSWORD

>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): 0

** Summary of what you entered **

Ethernet Interface: eth0
User name: vze6k40t@verizon online
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring
it down. Type 'adsl-status' to see the link status.
[root@localhost rp-pppoe-3.5]# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 193: 22778 Terminated $CONNECT "$@" >/dev/null 2>&1
[root@localhost rp-pppoe-3.5]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:59:CD:F2:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:680 errors:0 dropped:0 overruns:0 frame:0
TX packets:872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:41770 (40.7 Kb) TX bytes:40436 (39.4 Kb)
Interrupt:11 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:329 errors:0 dropped:0 overruns:0 frame:0
TX packets:329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26226 (25.6 Kb) TX bytes:26226 (25.6 Kb)

[root@localhost rp-pppoe-3.5]#


#################################################################################



bardinjw 07-16-2003 08:47 AM

well...i can probably answer question#2

if your win xp file system is ntfs......

ntfs is still "experimental" in linux. and is usually set to read only because writing can be problematic. i haven't tried ntfs with linux, but you may be able to look up some peoples experience, and i think you can change ntfs to read/write when compiling the kernel.

broodman 07-16-2003 10:58 AM

thanks for your reply. if so, I still get a lot to learn to get my XP partition writable.

compiling the kernel, it sound so scary. is it hard?

bardinjw 07-16-2003 11:50 AM

compiling a kernel can be difficult, in that there are a lot of options that you can miss, but in theory it's simple. i'm sure there are some tutorials for doing it, with help for redhat specifically.

i know for pppoe for verizon, just enter the username (no "@verizon.com"), and your password. personnly i use a router that handles pppoe for all my setups, and let dhcp do all the work.

you could put another vfat partition on your hard drive. windows will automatically recognize this, and you can use it for data that you want to access from either os.

broodman 07-16-2003 12:08 PM

If I use partition magic to create a new vfat partition in windows, will it destruct the exist partition table? I am just afraid that system crash mignt happen when I resize the hard drive.

or use fdisk in redhat to create a new partition? question is can windows recognize it?

which method is safer? or is there other choice?

thanks again

bardinjw 07-16-2003 12:22 PM

if you're using lilo or grup to boot, that will direct you to the right partition to boot from.

personally i'd use fdisk or something similar in linux, i find it easier to see exactly what's going on that way, and it will see ext3 partitions, i'm not sure if partition majic will.

i can't give you a good "how to" without doing it myself, so you might want to search for some examples.

adding a partition will re-write the partition table, you just have to make sure the existing partitions are re-writen with the same starting points.

broodman 07-16-2003 02:55 PM

I am using grup to boot.
I am going to try fdisk later. thanks a lot.

broodman 07-17-2003 10:17 PM

I released some space to from XP partition by magic partition. and Now these space are unassigned, I dont know how to use them to create a new partition in redhat 8.0.

Does anybody can help?

breun006 08-18-2003 10:35 AM

to question 1:
I've the same problem, pppoe used to work with my com21 (cable)modem.
Now I have a eurodisc modem, a new install of linux and get the same error.
Your modem probably doesnt support pppoe but L2TP,
this is from another thread, same subject,

probably you'll have to setup a tunnel .
see some iptunnel docs.



I'm stil trying to fi

broodman 08-19-2003 10:46 PM

oh, thanks, now I am using a router, and there is no network problem any more.


All times are GMT -5. The time now is 10:03 PM.