View previous topic :: View next topic |
Author |
Message |
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Sun Jun 30, 2013 5:29 am Post subject: conf.d/modules [SOLVED] |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sun Jun 30, 2013 5:42 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Jun 30, 2013 4:13 pm Post subject: |
|
|
yup skip that.
it still has its usages, ie module load options. _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Mon Jul 01, 2013 11:32 am Post subject: |
|
|
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 |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Mon Jul 01, 2013 12:28 pm Post subject: |
|
|
[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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Mon Jul 01, 2013 12:34 pm Post subject: |
|
|
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 |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Mon Jul 01, 2013 12:53 pm Post subject: |
|
|
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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Mon Jul 01, 2013 2:54 pm Post subject: |
|
|
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 |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Mon Jul 01, 2013 3:47 pm Post subject: |
|
|
Are you sure you successfully emerged wpa_supplicant?
What does "equery files wpa_supplicant" say _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Mon Jul 01, 2013 4:05 pm Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Jul 01, 2013 4:15 pm Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Jul 01, 2013 5:57 pm Post subject: |
|
|
Gentle reminder, to use equery one must first _________________ Defund the FCC. |
|
Back to top |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Mon Jul 01, 2013 7:41 pm Post subject: |
|
|
DONAHUE wrote: | Gentle reminder, to use equery one must first |
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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Fri Jul 12, 2013 1:16 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jul 12, 2013 3:23 pm Post subject: |
|
|
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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Fri Jul 12, 2013 3:54 pm Post subject: |
|
|
[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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jul 12, 2013 5:54 pm Post subject: |
|
|
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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Fri Jul 12, 2013 6:50 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jul 12, 2013 6:58 pm Post subject: |
|
|
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 |
|
|
Tman11 Tux's lil' helper
Joined: 30 Jun 2013 Posts: 77
|
Posted: Sat Jul 13, 2013 1:47 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jul 13, 2013 2:47 pm Post subject: |
|
|
only the original poster can edit the tile line to add [Solved] _________________ Defund the FCC. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Sat Jul 13, 2013 3:33 pm Post subject: |
|
|
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 |
|
|
|