Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
conf.d/modules [SOLVED]
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
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Sun Jun 30, 2013 5:29 am    Post subject: conf.d/modules [SOLVED] Reply with quote

Hello, i've gone this far with just reading and searching through the forums. I have came to a problem with figuring out what to edit in my modules. I've done the genkernel all and only modified some of my wifi/eth options in menuconf. Can someone give me a heads up to where i can find a link or dictionary for the listings in

Code:
find /lib/modules/3.8.13-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less


thanks


Last edited by Tman11 on Thu Jul 18, 2013 3:48 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1265

PostPosted: Sun Jun 30, 2013 5:42 am    Post subject: Reply with quote

Hi, welcome to Gentoo.

Just skip that. Udev automatically autoload the relevant modules. This step is a throw back to a more primitive time.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4076
Location: Removed by Neddy

PostPosted: Sun Jun 30, 2013 4:13 pm    Post subject: Reply with quote

yup skip that.
it still has its usages, ie module load options.
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Mon Jul 01, 2013 11:32 am    Post subject: Reply with quote

Hey guys another dilemma occurred when i rebooted gentoo after i pulled the flash drive out. I tried configuring my settings to recognize wireless. I have it to where i can boot and use my ethernet cable but i wanted to use my internal wireless adapter so i can roam around the house. this is the codes im getting.

Code:
*   Running dchpcd ...
dhcpcd[12934] version 5.6.4 starting
dhcpcd[12934] all: configured as a router, not a host
dhcpcd[12934] eth0: waiting for carrier
dhcpcd[12934] timed out
dhcpcd[12934] allowing 8 seconds for IPv4LL timeout
dhcpcd[12934] timed out
*ERROR: net.eth0 failed to start
*Bringing up interface wlan0
*   Starting wpa_supplicant on wlan0 ...
*   /etc/wpa_supplicant/wpa_supplicant.conf not found
*ERROR cannot start netmount as net.eth0 would not start
*Starting syslog-ng


any clues to where i went wrong with wpa_supplicant?
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2384

PostPosted: Mon Jul 01, 2013 12:28 pm    Post subject: Reply with quote

[quote="Tman11"]
Code:
...
*   Starting wpa_supplicant on wlan0 ...
*   /etc/wpa_supplicant/wpa_supplicant.conf not found

I would start looking here.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Mon Jul 01, 2013 12:34 pm    Post subject: Reply with quote

I remember emerging wpa_supplicant and setting /etc/conf.d/net to recognize wpa_supplicant as default. But when i look for it in my /etc folder its no where to be found. do i just create another using mkdir?
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2384

PostPosted: Mon Jul 01, 2013 12:53 pm    Post subject: Reply with quote

I have a directory "/etc/wpa_supplicant" and in that directory are 2 files, "wpa_cli.sh" and "wpa_supplicant.conf". I don't specifically installing or configuring this any more, but from what I can read now, ("equery files wpa_supplicant") "/etc/wpa_supplicant/wpa_cli.sh" should exist. It also looks like I grabbed a sample configuration from "/usr/share/doc/wpa_supplicant-0.7.3-r5/wpa_supplicant.conf.bz2" and went from there, using "man 5 wpa_supplicant.conf".

Sorry I can't be more specific - I set this stuff up almost 3 years ago. At any rate, that directory SHOULD exist already.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Mon Jul 01, 2013 2:54 pm    Post subject: Reply with quote

depontius wrote:
I have a directory "/etc/wpa_supplicant" and in that directory are 2 files, "wpa_cli.sh" and "wpa_supplicant.conf". I don't specifically installing or configuring this any more, but from what I can read now, ("equery files wpa_supplicant") "/etc/wpa_supplicant/wpa_cli.sh" should exist. It also looks like I grabbed a sample configuration from "/usr/share/doc/wpa_supplicant-0.7.3-r5/wpa_supplicant.conf.bz2" and went from there, using "man 5 wpa_supplicant.conf".

Sorry I can't be more specific - I set this stuff up almost 3 years ago. At any rate, that directory SHOULD exist already.


better just post a pic of what i see .. i literally have no directory under /etc that says "wpa_supplicant" i never deleted it either.

http://i41.tinypic.com/2illvyx.jpg
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2384

PostPosted: Mon Jul 01, 2013 3:47 pm    Post subject: Reply with quote

Are you sure you successfully emerged wpa_supplicant?

What does "equery files wpa_supplicant" say
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Mon Jul 01, 2013 4:05 pm    Post subject: Reply with quote

depontius wrote:
Are you sure you successfully emerged wpa_supplicant?

What does "equery files wpa_supplicant" say


i followed the hand book and did what it said so i must of but im guessing i was wrong? and im diving into gentoo head first with some knowledge of linux, but not a fully understanding. can you define "equery files wpa_supplicant"
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1265

PostPosted: Mon Jul 01, 2013 4:15 pm    Post subject: Reply with quote

What some people here are checking is that portage actually finished installing wpa_supplicant. Unfortunately, source based installs are not always as smooth as they could be and new users sometimes don't notice or don't understand the error messages.

depontius is asking you to run the command equery files wpa_supplicant in your terminal. I think you would also have an easier time getting us information if you emerge wgetpaste which you use one of two ways. The first way is to use wgetpaste <file> which uploads the file to pastebin and the second way is to use <command> | wgetpaste which does the same with a non-interactive command. You cannot use this with a command requiring input. You would then post the url returned.

I would bet that wpa_supplicant didn't build. It will not hurt to try emerge -pv wpa_supplicant and see if is marked [ebuild N ] for new or [ebuild R] for reinstall. Its a different way to skin the same cat.

EDIT: to add url comment
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6251
Location: Goose Creek SC

PostPosted: Mon Jul 01, 2013 5:57 pm    Post subject: Reply with quote

Gentle reminder, to use equery one must first
Code:
emerge gentoolkit

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Mon Jul 01, 2013 7:41 pm    Post subject: Reply with quote

DONAHUE wrote:
Gentle reminder, to use equery one must first
Code:
emerge gentoolkit


was wondering if i missed something else lol

Code:
Rare ~ # equery files wpa_supplicant
!!! No installed packages matching "wpa_supplicant"
*Searching for wpa_supplicant ...
Rare ~ #


(im still in command line, haven't started with the kde/desktop)
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Fri Jul 12, 2013 1:16 pm    Post subject: Reply with quote

Hi everyone, i've been out of town and was not able to bring my laptop to continue this project. Though i figured some of my problem with the wpa_supplicant.conf issue. I changed some USE commands specifically these 2 "-java -cups" re-emerged and wpa_supplicant installed perfectly. Now the only prob is i still dont have the wpa_supplicant.conf though i have the wpa_cli.sh. I also re-ran the equery files wpa_supplicant command and i have this now.

Code:
(chroot) Gentoo-11 / # equery files wpa_supplicant
 * Searching for wpa_supplicant ...
 * Contents of net-wireless/wpa_supplicant-0.7.3-r5:
/etc
/etc/conf.d
/etc/conf.d/wpa_supplicant
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/wpa_supplicant.conf
/etc/init.d
/etc/init.d/wpa_supplicant
/etc/wpa_supplicant
/etc/wpa_supplicant/wpa_cli.sh
/usr
/usr/bin
/usr/bin/wpa_cli
/usr/bin/wpa_gui
/usr/bin/wpa_passphrase
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/system
/usr/lib/systemd/system/wpa_supplicant.service
/usr/lib/systemd/system/wpa_supplicant@.service
/usr/sbin
/usr/sbin/wpa_supplicant
/usr/share
/usr/share/applications
/usr/share/applications/wpa_gui-wpa_supplicant.desktop
/usr/share/dbus-1
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service
/usr/share/doc
/usr/share/doc/wpa_supplicant-0.7.3-r5
/usr/share/doc/wpa_supplicant-0.7.3-r5/ChangeLog.bz2
/usr/share/doc/wpa_supplicant-0.7.3-r5/README-WPS.bz2
/usr/share/doc/wpa_supplicant-0.7.3-r5/README.bz2
/usr/share/doc/wpa_supplicant-0.7.3-r5/eap_testing.txt.bz2
/usr/share/doc/wpa_supplicant-0.7.3-r5/todo.txt.bz2
/usr/share/doc/wpa_supplicant-0.7.3-r5/wpa_supplicant.conf.bz2
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/wpa_supplicant.conf.5.bz2
/usr/share/man/man8
/usr/share/man/man8/wpa_background.8.bz2
/usr/share/man/man8/wpa_cli.8.bz2
/usr/share/man/man8/wpa_gui.8.bz2
/usr/share/man/man8/wpa_passphrase.8.bz2
/usr/share/man/man8/wpa_priv.8.bz2
/usr/share/man/man8/wpa_supplicant.8.bz2
/usr/share/pixmaps
/usr/share/pixmaps/wpa_gui.svg
/var
/var/run
/var/run/wpa_supplicant
/var/run/wpa_supplicant/.keep_net-wireless_wpa_supplicant-0


I also read the man 5 wpa_supplicant.conf and understand how to write out what i need. Just still missing the wpa_supplicant.conf. Oh and I tried to just make a mkdir wpa_supplicant.conf file but lol thats not gonna work.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6251
Location: Goose Creek SC

PostPosted: Fri Jul 12, 2013 3:23 pm    Post subject: Reply with quote

Code:
nano /etc/wpa_supplicant/wpa_supplicant.conf
edit to
Quote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Fri Jul 12, 2013 3:54 pm    Post subject: Reply with quote

[quote="DONAHUE"]
Code:
nano /etc/wpa_supplicant/wpa_supplicant.conf



thats the point the only thing in the /etc/wpa_supplicant folder is wpa_cli.sh and no wpa_supplicant.conf. how do i get the .conf file?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6251
Location: Goose Creek SC

PostPosted: Fri Jul 12, 2013 5:54 pm    Post subject: Reply with quote

Code:
nano /etc/wpa_supplicant/wpa_supplicant.conf

if it does not exist and you need it you must create it. exiting nano with ctrl x after editing will create and save the edited file if correct choices are made
_________________
Defund the FCC.


Last edited by DONAHUE on Fri Jul 12, 2013 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Fri Jul 12, 2013 6:50 pm    Post subject: Reply with quote

Ty for the quick response. Just to make sure this is the command I write to make the wpa_supplicant

Code:
touch /etc/wpa_supplicant/wpa_supplicant.conf
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6251
Location: Goose Creek SC

PostPosted: Fri Jul 12, 2013 6:58 pm    Post subject: Reply with quote

Code:
nano /etc/wpa_supplicant/wpa_supplicant.conf
will open an empty file /etc/wpa_supplicant/wpa_supplicant.conf which you can edit and save
Code:
touch /etc/wpa_supplicant/wpa_supplicant.conf
will create an empty file which you can then open with a text editor, edit, and save
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tman11
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2013
Posts: 77

PostPosted: Sat Jul 13, 2013 1:47 pm    Post subject: Reply with quote

thank you guys very much my wpa_supplicant.conf was a success i have wireless internet set up from command line and i have the option for eth0. mark this post as solved!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6251
Location: Goose Creek SC

PostPosted: Sat Jul 13, 2013 2:47 pm    Post subject: Reply with quote

only the original poster can edit the tile line to add [Solved]
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jul 13, 2013 3:33 pm    Post subject: Reply with quote

Tman11,

Edit your original post to add [solved] to the title if you wish.
_________________
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
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