Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No network No GUI!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
atsali
n00b
n00b


Joined: 22 Jun 2003
Posts: 15

PostPosted: Sun Jun 22, 2003 3:33 pm    Post subject: No network No GUI! Reply with quote

SOMEBODY HELP :(
hi i am newbie to gentoo and have installed the most recent version with stage3 tar ball i followed the install instructions thru lynx as i went a long and completed the install now i did not config any of my network settings as they were working during the install so i assumed gentoo didnt them. now i hav rebooted for the first time i get to the command line interface and am stuck ( i tried 'emerge gnome' but i have no net connection!)
can somebody please help this very keen newbie to get gentoo finally installed
if you need more info to diagnose my probs then pls post and will respond asap
[/b]
Back to top
View user's profile Send private message
ebruning
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 104

PostPosted: Sun Jun 22, 2003 3:47 pm    Post subject: Reply with quote

What errors did you get when you did emerge gnome? Also what is the output from ifconfig? Did you run "rc-update add net.eth0 default" during the install? When you built your kernel did you remember to include your network card? and is it built into the kernel or a module?
Back to top
View user's profile Send private message
keratos68
Guru
Guru


Joined: 27 Dec 2002
Posts: 561
Location: Blackpool, Lancashire, UK.

PostPosted: Sun Jun 22, 2003 3:54 pm    Post subject: Reply with quote

You did follow the instructions didn't you :?:

You must ensure that any changes to your system were done in the context of /mnt/gentoo - i.e. that /mnt/gentoo was you effective root filesystem , and you must have "chroot"ed into it at some point near the beginning.
_________________
Someone told me that "..they only ever made one mistake...."

...and that's when they said they were wrong!!
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Sun Jun 22, 2003 5:00 pm    Post subject: Reply with quote

ok... boot again with the Gentoo Live CD and repeat step 21 in the Gentoo online documentation...
---> http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Sun Jun 22, 2003 5:00 pm    Post subject: Reply with quote

oh and don't forget to chroot... ;-)
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sun Jun 22, 2003 5:32 pm    Post subject: Reply with quote

and don't forget to mount before you attempt to chroot.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
atsali
n00b
n00b


Joined: 22 Jun 2003
Posts: 15

PostPosted: Sun Jun 22, 2003 5:51 pm    Post subject: Reply with quote

hey people thanks for the response i'm overwhelmed.
the thing about step 21 is interesting as when tried to 'autoload' the 'module' i got an errror msg so i proceeded with ou it
and also the i did not make any changes in
nano -w /etc/conf.d/net
as i did nt know wot to put i have a D-link D538 tx 10/100 net card
any suggestions
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sun Jun 22, 2003 9:12 pm    Post subject: Reply with quote

atsali wrote:
hey people thanks for the response i'm overwhelmed.
the thing about step 21 is interesting as when tried to 'autoload' the 'module' i got an errror msg so i proceeded with ou it
and also the i did not make any changes in
nano -w /etc/conf.d/net
as i did nt know wot to put i have a D-link D538 tx 10/100 net card
any suggestions



Step 21? Setting your hostname? This has nothing to do with modules!?!

If you've compiled in or modulearised (and put in modules.autoload) the net card driver into the kernel then linux will take care of using that driver for your network card. the /etc/conf.d/net file is to tell your computer how to get its IP address, default gateway etc. If you have a dhcp server on your network its as easy as setting the dhcp line as specified in the install guide and actually I think as an example in the file itself. Otherwise you have to specify your IP address, default gateway etc. in this file. If you don't do this you will have network problems, i.e. it won't work

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
atsali
n00b
n00b


Joined: 22 Jun 2003
Posts: 15

PostPosted: Sun Jun 22, 2003 9:27 pm    Post subject: Reply with quote

if i wa to recompile my kernel to include/ modulerise the NIC driver.
how shall i go about doing this
i mean which file do i edit, and also wot is my NIC driver i have no way of knowing wot to use
nb is there a way with out having tyo recomplie my kernel[/img]
Back to top
View user's profile Send private message
MaRTiaN
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 85
Location: London

PostPosted: Tue Jun 24, 2003 6:00 pm    Post subject: Reply with quote

You need to rebuild your kernel with module support for the correct chipset for your network card. If you don't know, a few minutes on google will tell you. Follow the relevent instructions in the installation instructions. As mentioned earlier there is no need to reinstall everything. When you get to the command line, type (assuming you can boot your install, and it's just that the network isn't working)
Code:
cd /usr/src/linux
make menuconfig
etc.
, exactly as the installation instructions tell you, then during the config part, select your network card as a module. If you look at the help section, it tells you the name of the module, it will look something like natsemi.o (natsemi is what I use). So in /etc/modules.autoload I have natsemi. You need to put your relevent .o file here.

If you connect to the internet via DHCP, you need the following lines in your /etc/conf.d/net file
Code:
ifface_eth0="dhcp"
Assuming that eth0 is your nic.

After that you need to rc-update add net.eth0 default just as it says in the instructions. Then one reboot later, you should be ready to go :)

Good luck
_________________
Some people are alive only because it's illegal to kill them.
Back to top
View user's profile Send private message
atsali
n00b
n00b


Joined: 22 Jun 2003
Posts: 15

PostPosted: Tue Jun 24, 2003 8:13 pm    Post subject: Thank you Reply with quote

Thanx ppl i managed to recompile the kernel with the realtek driver and it worked i now have a working system and am trying to get the GUI going.
I have installed Xfree and i get that poor desktop (tvm or something).
but i want KDE.
I have an nvidia geforce card and when
#emerge nvidia-glx
i get an error message telling me to recompile the kernel with MRR support
also when i
emerge kde it stops with error at emerging qt -
the problem now is Can i safely recompile the kernel from with in gentoo, make the necessary changes with out changing my current settings?
Back to top
View user's profile Send private message
MaRTiaN
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 85
Location: London

PostPosted: Tue Jun 24, 2003 8:23 pm    Post subject: Reply with quote

You need to recompile your kernel, and select mtrr in the processor settings. As for Qt, it helps if you post the error messages. Many people probably have had the same error, so a good idea is to search the forums first. Usually putting in a few key words from the error is enough.

edit: You might want to try fluxbox and opera to get a gui and webrowser up nice and quick. Also kde apps work quite nicely with fluxbox. I use gideon, qunta and a few others.
_________________
Some people are alive only because it's illegal to kill them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum