Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]LiveCD Gentoo first installation
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
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 8:06 pm    Post subject: [SOLVED]LiveCD Gentoo first installation Reply with quote

Hello! Im new in GNU/Linux OS so i need some help.
First of all I chose Gentoo as it has good replies.

So.LiveCD - minimal iso.

I have livecd gentoo (latest). old notebook. wi-fi router. my ethernet is not working, so only wi-fi.

wi-fi router has WPA2-Personal / TKIP and dhcp

LiveCD show my adapter as wlan0.

How can i connect to router and internet from LiveCD menu? This is my first question and main problem :oops:


Last edited by Mansoff on Wed Dec 21, 2011 10:19 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Dec 17, 2011 8:20 pm    Post subject: Reply with quote

Mansoff,

Welcome to Gentoo.

The liveCD as very poor wireless support to keep it small, so you probably can't connected via wireless for your install.
The good news is that you can use any Linux liveCD you have to hand that does support your wireless to install Gentoo as the liveCD provides some of the install tools and none of the code.

System Rescue CD is a good alternative boot CD. It provides a GUI so you can browse the web and extensive wireless support.
Its also very easy to install onto a USB stick and boot from there. Its also Gentoo based, so you can follow the handbook straight away.
Other liveCDs will require you to do
Code:
mkdir /mnt/gentoo

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 8:25 pm    Post subject: Reply with quote

Oh, Thanks for answer!

But, here is another problem. I cant make new cd, or download anything else. Have only wi-fi router and old laptop with wi-fi.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Dec 17, 2011 8:34 pm    Post subject: Reply with quote

Mansoff,

How did you get the Gentoo liveCD in the first place?
How are you posting here now ?

You need temporary access to a wired network, or another PC with internet access.
With a wired network you can install up to the point where wireless will work.

You can use Sneakernet to fetch the files you need to another computer/operating system, then move them to your growing Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 8:41 pm    Post subject: Reply with quote

NeddySeagoon,

I've burn it at home,ill be there in next month.
Im here from wi-fi phone and router.

I know ssid, pw of router. its wpa2-pers/ tkip.
I think with minimal cd it real to connect, but how is the question.

I saw Gentoo first on home VirtualBox, but there was dhcp and i dont think that itll be a real problem to connect with wi-fi ^^
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 8:54 pm    Post subject: minimal cd and wi-fi Reply with quote

Double post

Same problem, same OP merged from NS by NeddySeagoon


Last edited by Mansoff on Sat Dec 17, 2011 10:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Dec 17, 2011 9:14 pm    Post subject: Reply with quote

Mansoff,

To connect with wpa2 you need wpa-supplicant, which I'm faily sure is not provided on the liveCD.

Try
Code:
/etc/init.d/wpa_supplicant start
IF you have that script and supportung software, then we can make it work.
I will be ugly as you will have to do the setup every time you boot the liveCD as it won't be saved anywhere.
Well, you can save it on your Gentoo I suppose.

The setup for wpa-supplicant is described in the Gentoo Handbook
The very first step says
Code:
emerge net-wireless/wpa_supplicant
which you cannot do yet. You need your stage3 tarball first.
Hence the test for the startup sctipt.

If you don't have wpa-supplicant, please post the exact name of the file your downloaded to get the gentoo minimal CD.
It looks like net-wireless/wpa_supplicant only depends on things already on the liveCD, so you may be able to get a binary package and have it just work.
However, you need to get the binary for the right liveCD, so I need to know that. IF you don't have the filename, I need to know the CPU you ant to install on from
Code:
less /proc/cpuinfo
and if your CPU supports 64 bit code, if you are doing a 64 or 32 bit install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 9:50 pm    Post subject: Reply with quote

NeddySeagoon,

after trying
Code:
/etc/init.d/wpa_supplicant start


have this

Code:

livecd~#/etc/init.d/wpa_supplicant start
*Catching service dependencies ...
*Starting WPA Supplicant Daemon ...
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
*start-stop-daemon:failed to start `/usr/sbin/wpa_supplicant'
*Failed to start wpa_supplicant
*ERROR: wpa_supplicant failed to start


Distr (install-amd64-minimal-20111208.iso) was from here http://distfiles.gentoo.org/releases/amd64/current-iso/

Code:
less /proc/cpuinfo


Code:
model name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46Ghz



Is it mean, that "bb Gentoo"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Dec 17, 2011 10:09 pm    Post subject: Reply with quote

Mansoff,

Code:
failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Is good.
It shows you have wpa-supplicant installed but its not configured, so not need for any dirty hack like downloading a binary.

To set it up you must make the file /etc/wpa_supplicant/wpa_supplicant.conf by following the guide I linked earlier.
Skip the emerge step.
Save the file on your hard drive when it works, so you can copy back if you need to. Wheile you are on the liveCD, this file is created in your RAM.

When all is well, running
Code:
net-setup wlan0
should get you networking.

You will need to emerge wpa-supplicant and copy the /etc/wpa_supplicant/wpa_supplicant.conf file into your install too, or networking will work for the install, while the liveCD is running but not in your own install after your reboot. If you mess that up, you will have to boot with the liveCD, set up networking again, get into the chroot and fix it.
You never fix anything in Gentoo by reinstalling - so don't even think about doing that.

This may well be my last post in this thread tonight, its getting late here.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sat Dec 17, 2011 10:17 pm    Post subject: Reply with quote

NeddySeagoon,

Oh, thanks!

I'll try it now and ofc result will be here.
Back to top
View user's profile Send private message
Mansoff
n00b
n00b


Joined: 17 Dec 2011
Posts: 12

PostPosted: Sun Dec 18, 2011 12:25 am    Post subject: Reply with quote

Ok, now internet works. Thanks for help!

What I did exacly.

Have WPA2-TKIP hidden SSID wi-fi.

Code:
vi /etc/conf.d/net



Quote:
modules=( “wpa_supplicant” )
wpa_supplicant_wlan0=”-Dwext”


Code:
vi /etc/wpa_supplicant/wpa_supplicant.conf


Quote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network{
scan_ssid=1
ssid="CaSeSSiD"
psk="XXXXXXX"
priority=5
}



then

Code:
wpa_supplicant -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf &

and got IP
Code:
dhcpcd wlan0


and ping something

[SOLVED]
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