LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandrake Linux Is Random (https://www.linuxquestions.org/questions/mandriva-30/mandrake-linux-is-random-208016/)

vectordrake 07-21-2004 09:32 PM

Oops. That was "L"spci. That tells what your PCI hardware is, as read when booting up (the true hardware chip lookups, so to speak)

From your lsmod output, I surmise you have a Network card from the DEC 410xx model family. The "tulip" module is loaded (Isame as the Linksys bastard I use - which is a clone of that chip family). LSPCI (in lower case) will tell you for sure if that's right, whcih it likely is. I also see that you enabled the firewall stuff too. If you're not online with all that, I can't help you, as I haven't enabled a software firewall since I got my router (I forget that stuff). Others here will know exactly what to do.

Aside, I see you have something IPV6 enabled. That's not really necessary, as almost no internet servers will be using that protocol soon.

If you can disable the firewall with Mandrake Control Center, it may be a good idea, to see if you're actually configured to be online. If so, you can figure out what the firewall is blocking that prevents you surfing away, so to speak.

zarathaz 07-21-2004 10:31 PM

Thanks for your help.. Would you reccomend reinstalling Mandrake and not checking the "firewall/router" box? That might be causing my problems?

vectordrake 07-21-2004 10:42 PM

If you wish, but you can likely remove the firewall with RPMDrake. Up to you. I'd disable the firewall to see if you could get connected and work from there

zarathaz 07-22-2004 01:03 PM

I finished reinstalling Mandrake Linux. I'm still not geting a internet connection, but I think it has something to do with my /etc/resolv.conf and /etc/resolv.conf~ files being empty... What exactly should be in these?

vectordrake 07-22-2004 05:04 PM

/etc/resolv.conf~ is the "backup" from when it was modified. If you're using DHCP, put in a line like this
Code:

nameserver 192.168.x.x #that being the IP of your router
in the /etc/resolv.conf file.

zarathaz 07-22-2004 05:41 PM

Okay, I finally got Eth0 to work, It's doing something it's never done before, Before it OK's, it does something like

Sending probe 3 for 255.255.255.127
Sending probe 1 for 255.255.255.127
Claiming ownership over 255.255.255.127
Watching for collisions

( Starting Up Internet Connection does the same thing, but they both "OK" )

I checked my /etc/resolv.conf file, Which had the following in it

search Comcast.net
nameserver 63.240.76.4
nameserver 204.127.198.4

/etc/resolv.conf~ is empty. Should I erase one of these name server lines and put
nameserver 198.162.1.1 ( My router ) In it? or?...

vectordrake 07-22-2004 09:16 PM

No. Leave them there. If you're connecting with DHCP, your DNS info is being sought and written to that file as you boot up. Its perfectly ok. The next reboot of your machine will probably populate /etc/resolv.conf~ with what's in /etc/resolv.conf.

That's just the way linux "backs up" config files that are modified. For example, I usually tweak my /etc/X11/XF86Config file (AKA XF86Config-4 or Xorg.conf) because when my Rage 128 Pro is recognized, the driver runs the card at 1x AGP, when it's capable of 4x. My motherboard only supports 2x, so I force it to enable at 2x instead of 1x. When finished, I still have a /etc/X11/XF86Config file (which is the modified one) and now I have /etc/X11/XF86Config~, which is the old file before the modification. If the new file is crap, you can always remane the old one and you're back where you were.
Code:

mv /etc/X11/XF86Config~ /etc/X11/XF86Config
Does that make sense?

zarathaz 07-22-2004 10:10 PM

I'm not geting an internet connection still.. As soon as I try to enter an address It can't be found, While before it would look for it for 20-25 seconds before it told me it couldn't be found.

Heres my ifconfig ( On my linux ) I didn't copy my old one when internet was working, and was slow, but this one looks alot different....

taeth0 Link encap:Ethernet HWaddr 00:80:C6:EB:33:34
inet6 addr: fe80::280:c6ff:feeb:3334/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:1322 dropped:0 overruns:0 frame:2031
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4620 (4.5 Kb) TX bytes:18396 (17.9 Kb)
Interrupt:9 Base address:0x3000

eth0:9 Link encap:Ethernet HWaddr 00:80:C6:EB:33:34
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0x3000

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:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4918 (4.8 Kb) TX bytes:4918 (4.8 Kb)




And heres my lsmod, because i'm bored :P

Module Size Used by
sd_mod 16800 0
md5 3872 1
ipv6 232352 6
sg 38044 0
sr_mod 17060 0
cs4281 51808 1
soundcore 9248 2 cs4281
af_packet 20520 2
hid 53312 0
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
ipt_TOS 2240 12
ipt_REJECT 6464 4
ipt_LOG 5312 6
ipt_state 1728 12
ipt_multiport 1856 0
ipt_conntrack 2304 0
iptable_filter 2624 1
iptable_mangle 2624 1
iptable_nat 23116 0
ip_conntrack 31152 3 ipt_state,ipt_conntrack,iptable_nat
ip_tables 16704 9 ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptab le_nat
tulip 45248 0
supermount 37876 1
intel-agp 17372 1
agpgart 31016 1 intel-agp
ppa 12296 0
parport_pc 32832 0
imm 12360 0
scsi_mod 114744 5 sd_mod,sg,sr_mod,ppa,imm
parport 38952 3 ppa,parport_pc,imm
uhci-hcd 29104 0
usbcore 99132 4 hid,uhci-hcd
rtc 11576 0
ext3 110376 2
jbd 54328 1 ext3

vectordrake 07-22-2004 11:28 PM

The tulip module is being loaded, so you must have either a DEC 410xx or a clone, or the module loaded is wrong. What's lspci say about your eth card?

zarathaz 07-23-2004 01:08 AM

"L"spci isn't showing up as a command in gnome terminal.

I have a Macronix, Inc MXIC 1MX987x5 Net device.

vectordrake 07-23-2004 11:24 AM

On this page, it seems that the author has trouble with your type of card too. It hangs. This might be a module problem. The correct module for the card seems to be the tulip, but he's having trouble too.

You may need to be root to gat lspci info.

flyfishin 07-23-2004 11:50 AM

1. When you open up a terminal and su in as root use this command

su -

and then type in your root password. The hyphen will give you root's environment when you log in. It will put /sbin in your path, among other things, so that when you type lspci it will find it in /sbin/lspci. If you simply type

su

and then enter your password you are logged in as root but with the environment of the person you were when you typed su.

2. To keep your /etc/resolv.conf from being overwritten add this line

PEERDNS=no

to the appropriate ifcfg file. If your ethernet card is device eth0 then the file to add that line to is /etc/sysconfig/network-scripts/ifcfg-eth0.

zarathaz 07-23-2004 05:01 PM

Oh well... I think I'm going to try mandrake linux some other time. What is the best way to reinstall windows? Do I need to reinstall the bootloader? and if so, how?

vectordrake 07-23-2004 08:25 PM

Throw in the disk and follow the prompts...


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