Jump to content

Can't Get Net Going :(


AbaddonXD
 Share

Recommended Posts

oh haha...

 

i have cable internet my provider is "shaw" and i have a router but its not plugged in , and the linux firewall is off, i have linux an windows installed on my machine, an when im in windows it works but not linux.......

 

and i got ifup etho0, /sbin/ifup: line 427: 3670 Hangup /etc/init.d reload > /dev/null 27>&1

Link to comment
Share on other sites

  • Replies 39
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I would configure the connection just as a simple network connection, and not "cable." BTW, don't worry about the etho not coming up at boot. Since Mandrake 7.0, I have had it on again-off again at boot, and always had networking when the system fully loaded. It is a bug that is more of an annoyance than anything else.

 

OK, so you configure your network dhcp. What is the netmask? what does your provider tell you?

 

Also, even though it's linux, I highly recommend setting up the router and getting behind a firewall. It is the real safe computing.

Link to comment
Share on other sites

when you go into the Mandrake Control Center, Hardware section, click on hardware button, can you see your lan card in the list?? If you can, run the config tool and just set it up as a lan connection (no, cable, no dsl, just lan). THis is really the best way to do it IF your card is listed.

 

 

Good luck,

Robert

 

By the way, Did you know you can create a text file (like copying the ifup eth0 output from the console) and save it to your /mnt/win_C/windows/Desktop (check the path here, its from memory) so you can copy/paste it here for all to read? That would really help a lot. There's really no need to write it all down on paper. Try opening kedit or kwrite or gedit if you are using Gnome.

Link to comment
Share on other sites

this is what i did

i removed my defualt eth0 an re did it an i did it in this step

i chose cable, net device i didnt chose manual i chose my nic card, automatic ip bootp/dhcp

left assignhost name blank

an zeroconf blank

had netplug checked

 

an there was no ip an no mask

 

but ill do what u just sad an get back, ani still dont get on how to get a text file going....... i need smalll steps.. today is my 2nd day with linux so i know nothng

Link to comment
Share on other sites

I believe, if I'm not mistaken, that the path for the desktop in 2k/XP is:

 

C:\Documents and Settings\All Users\Desktop

 

So...assuming that this drive is mounted as /mnt/win_c (which I hope it is, cause this will be a lot easier if it is) type the following in a console, as root (open a terminal, type su <enter>, enter your root password <enter>

 

First thing, enter this:

 

df -h

 

This will tell you if your Windows drive is mounted (assuming it's the first partition on the drive, it will be /dev/hda1) Here is the output of mine:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             8.3G  232M  8.1G   3% /
/dev/sda1              71G   30G   41G  42% /home
/dev/hda8              49G   25G   24G  51% /mnt/music
none                  379M   44K  379M   1% /tmp
/dev/hda6             9.5G  3.3G  6.2G  35% /usr
/dev/hda7             8.1G  264M  7.8G   4% /var
/dev/sda5             6.5G  773M  5.8G  12% /var/www/html

 

If you see that it says something for /mnt/win_c then we're in business.

 

From that point, still as root type the following:

 

ifconfig > /mnt/win_c/Documents\ and\ Settings/All\ Users/Desktop/ifconfig.txt

 

You can hit the tab key in there to simplify things (ex: type Doc<tab> will most ikely give you that whole foldername). Notice both the Capitalization and the \'s before the spaces. That's very important.

 

Assuming that worked, you can reboot to windows and see that file. That will help us out a lot.

 

Also, while you're there, try setting up your internet connection as a LAN (Not a Cable) Connection. (remove the existing connection and set up a new connection as a LAN Connection, accepting all default settings) and see if that works.

 

Now, if your Windows drive is not mounted; come back and we'll tell you how to get it mounted.

Link to comment
Share on other sites

What is the filesystem? Is it Fat32 or NTFS?

 

Either way, you should be able to issue the commands (as root)

 

mkdir /mnt/win_c
mount /dev/hda1 /mnt/win_c

 

And have it mount. Give it a try and see if that works. If it just returs you to the command line, with no error messages then you're fine. Try the command I said above.

 

Also, did you try to recreate your net connection as a LAN connection?

Link to comment
Share on other sites

ifconfig > /mnt/win_c/Documents\ and\ Settings/All\ Users/Desktop/ifconfig.txt

it said no such directory.....

and i can play music off my windows paritions but when itry to copy a text over from a gui it sais it cant read it or copy it or somthing..

 

im new to all this command stuff

i also chose lan same thing

Edited by AbaddonXD
Link to comment
Share on other sites

good morning everyone :)

im new to all this command stuff

don't worry, you are in good hands. ;)

 

have you been able to mount the partition the way liquidzoo told you? if not, we might have to edit your fstab file first (i hope this is not necessary...). if you have been able to mount the windows-partition, make sure that you didn't write anything with a typo. once you have a typo, a message like "no such directory" will appear.

Link to comment
Share on other sites

well i was wrong from befor they were already mounted

 

so i didnt have to mount them myself but they are NTFS an i can only read off them i cant copy onto them :|

 

good mornin to you too =/

 

ive also been in the chat if you wanna make your way in there...

maybe this would go faster then...... :)

Edited by AbaddonXD
Link to comment
Share on other sites

[root@localhost the_despoiler]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:60:6E:70:0D:0A
         inet6 addr: fe80::260:6eff:fe70:d0a/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:21264 errors:0 dropped:0 overruns:0 frame:0
         TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1277117 (1.2 Mb)  TX bytes:11052 (10.7 Kb)
         Interrupt:22 Base address:0xa800

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

[root@localhost the_despoiler]# ifconfig dhcpcd eth0
eth0: Host name lookup failure
ifconfig: `--help' gives usage information.
[root@localhost the_despoiler]#

 

 

maybe this will help a little bit?

Link to comment
Share on other sites

well, it looks as if your network card is not the real problem as there are no error messages in the packets section. could you please post the contents of your /etc/sysconfig/networking-scripts/ifcfg-eth0 file? maybe the problem is somewhere in that file configuration.

Edited by arctic
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...