Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"no wireless extensions" error
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 12:44 am    Post subject: Reply with quote

When I tried to do "make menuconfig" it returned an error saying stuff that, well, was jiberish to me.:
"/bin/sh: line 1: 1149 aborted" Then (gcc-D__kernel__-Wall -Wundef -Wrestrict-prototypes, etc
Also "Warning: Clock skew detected" "Cannot create temporary file in ./: Read only file system" "/binsh: line1: 1139 aborted" make [1] ***[scripts/kconfig/conf .o] Error 134. A bunch of other stuff too.

Just tried it again, got same results. That's why I went back in with the Ubuntu cd.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 1:31 am    Post subject: Reply with quote

boot ubuntu
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
date  #if incorrect set it
#date MMDDHHMMYYYY
cd /usr/src/linux
make menuconfig

edit these parts:
Quote:

Quote:
[*] Networking support --->
-*- Wireless --->
--- Wireless
<*> cfg80211 - wireless configuration API
[ ] nl80211 testmode command
[ ] enable developer warnings
[ ] cfg80211 regulatory debugging
[*] enable powersave by default
[ ] cfg80211 DebugFS entries
[*] cfg80211 wireless extensions compatibility
[*] Wireless extensions sysfs files
<*> Common routines for IEEE802.11 drivers
[*] lib80211 debugging messages
<*> Generic IEEE 802.11 Networking Stack (mac80211)
Default rate control algorithm (Minstrel) --->
[ ] Enable mac80211 mesh networking (pre-802.11s) support
[*] Enable LED triggers
[ ] Export mac80211 internals in DebugFS
[ ] Select mac80211 debugging features --->

Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
--- Wireless LAN
<M> Ralink driver support --->
--- Ralink driver support
<M> Ralink rt2501/rt73 (USB) support

then
Code:
make && make modules_install
df -h #check /dev/sda1 is mounted at /boot
cp arch/x86/boot/bzImage /boot/kernel-2.6.34-gentoo-r12
ls -l /etc/init.d/net.wlan0 #should be a symlink to net.lo
cd /etc/init.d  #if no symlink
ln -s net.lo net.wlan0 #if no symlink

While we are in chroot:
Code:
echo 'USE="consolekit dbus gpm hal ntp policykit udev"' /etc/make.conf
emerge consolekit dbus gpm hal ntp policykit udev 
rc-update add consolekit default
rc-update add dbus default
rc-update add gpm default
rc-update add hald default
rc-update add ntp default
rc-update add ntp-client default
rc-update add udev-postmount default
rc-update add net.wlan0 default

and try it out:
Code:
exit
reboot
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 2:01 am    Post subject: Reply with quote

Looking better. ifconfig -a still shows all zeros, lo is all zeros. But grep -i rt73usb /usr/src/linux/.config shows CONFIG_RTUSB=m That's good news.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 2:28 am    Post subject: Reply with quote

you are booted in gentoo?
what interfaces does ifconfig -a show?
does lsusb -v show rt73usb as driver or module in use?
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 2:33 am    Post subject: Reply with quote

Yes, booted into Gentoo. ifconfig -a shows eth0, lo and sit0. CONFIG_RT&#USB=m, I assume that means module. Not sure if "module in use" means more, the grep line just shows the config rt73 line.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 2:47 am    Post subject: Reply with quote

lack of wlan0 ra0 eth1 interface suggests that the kernel is not applying driver to nic
Code:
modprobe -r rt73usb
modprobe rt73usb
what happens?
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 2:52 am    Post subject: Reply with quote

Nothing! I get the pound sign....# just root, and a flashing cursor.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 3:02 am    Post subject: Reply with quote

repeated below, just clutter here.

Last edited by DONAHUE on Mon Nov 15, 2010 3:27 am; edited 3 times in total
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 3:09 am    Post subject: Reply with quote

ifconfig -a gives ame results. No, never emerged -s wireless tools. Guess it's back to the live cd.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 3:21 am    Post subject: Reply with quote

reboot to cd,
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
date  #if incorrect set it
#date MMDDHHMMYYYY
emerge rt73-firmware wireless-tools
modprobe -r rt73usb
modprobe rt73usb
While we are in chroot:
Code:
nano /etc/make.conf #add to USE="consolekit dbus gpm hal ntp policykit udev"
emerge consolekit dbus gpm hal ntp policykit udev 
rc-update add consolekit default
rc-update add dbus default
rc-update add gpm default
rc-update add hald default
rc-update add ntp default
rc-update add ntp-client default
rc-update add udev-postmount default
rc-update add net.wlan0 default

and try it out:
Code:
exit
reboot
exit
reboot

I should have known better. Almost every wireless nic requires a separate firmware install, sometimes from portage, sometimes direct from manufacturer. I did not look for it when I saw no reference to firmware in the help in menuconfig, dumb.


Last edited by DONAHUE on Mon Nov 15, 2010 3:41 am; edited 5 times in total
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 3:30 am    Post subject: Reply with quote

Ooops...
Code:
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "wireless".

Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 3:32 am    Post subject: Reply with quote

Code:
emerge rt73-firmware wireless-tools
Sorry. See edit just above Ooops.
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 3:48 am    Post subject: Reply with quote

emerge rt73-firmware wireless-tools Worked. After,
Code:
(chroot) ubuntu / # modprobe -r rt73usb
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
(chroot) ubuntu / # modprobe rt73usb
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory


Got this after editing /etc/make.conf:
Code:
(chroot) ubuntu / # rc-update add consolekit default
 * rc-update: '/etc/init.d/consolekit' not found; aborting
(chroot) ubuntu / # rc-update add dbus default
 * rc-update: '/etc/init.d/dbus' not found; aborting
(chroot) ubuntu / # rc-update add gpm default
 * rc-update: '/etc/init.d/gpm' not found; aborting
(chroot) ubuntu / # rc-update add hald default
 * rc-update: '/etc/init.d/hald' not found; aborting
(chroot) ubuntu / # rc-update add ntp default
 * rc-update: '/etc/init.d/ntp' not found; aborting
(chroot) ubuntu / # rc-update add ntp-client default
 * rc-update: '/etc/init.d/ntp-client' not found; aborting
(chroot) ubuntu / # rc-update add udev-postmount default
 * udev-postmount already installed in runlevel 'default'; skipping
(chroot) ubuntu / # rc-update add net.wlan0 default
 * net.wlan0 already installed in runlevel 'default'; skipping
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 5:05 am    Post subject: Reply with quote

need to be emerged first:
Code:
emerge consolekit dbus gpm hal ntp policykit udev
then
Code:
rc-update add consolekit default
rc-update add dbus default
rc-update add gpm default
rc-update add hald default
rc-update add ntpd default
rc-update add ntp-client default




Quote:
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
is very strange. Not that there is none but that modprobe is looking for it.
Code:
eselect kernel list
Returns?
Code:
eselect kernel set linux-2.6.34-gentoo-r12

Code:
ls -l /lib/modules
Returns?
Code:
uname -a
Returns?
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 5:13 pm    Post subject: Reply with quote

Emerge consolekit worked OK. After that, I got this:
Code:
(chroot) ubuntu / # rc-update add consolekit default
 * rc-update: '/etc/init.d/consolekit' not found; aborting
(chroot) ubuntu / # rc-update add dbus default
 * rc-update: '/etc/init.d/dbus' not found; aborting
(chroot) ubuntu / # rc-update add gpm default
 * rc-update: '/etc/init.d/gpm' not found; aborting
(chroot) ubuntu / # rc-update add hald default
 * rc-update: '/etc/init.d/hald' not found; aborting
(chroot) ubuntu / # rc-update add ntpd default
 * rc-update: '/etc/init.d/ntpd' not found; aborting
(chroot) ubuntu / # rc-update add ntp-client default
 * rc-update: '/etc/init.d/ntp-client' not found; aborting
(chroot) ubuntu / # eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.34-gentoo-r12 *
(chroot) ubuntu / # eselect kernel set linux-2.6.34-gentoo-r12
(chroot) ubuntu / # ls -l /lib/modules
total 4
drwxr-xr-x 3 root root 4096 Nov 14 20:50 2.6.34-gentoo-r12
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Mon Nov 15, 2010 5:18 pm    Post subject: Reply with quote

Emerge consolekit worked OK. After that, I got this:
Code:
(chroot) ubuntu / # rc-update add consolekit default
 * rc-update: '/etc/init.d/consolekit' not found; aborting
(chroot) ubuntu / # rc-update add dbus default
 * rc-update: '/etc/init.d/dbus' not found; aborting
(chroot) ubuntu / # rc-update add gpm default
 * rc-update: '/etc/init.d/gpm' not found; aborting
(chroot) ubuntu / # rc-update add hald default
 * rc-update: '/etc/init.d/hald' not found; aborting
(chroot) ubuntu / # rc-update add ntpd default
 * rc-update: '/etc/init.d/ntpd' not found; aborting
(chroot) ubuntu / # rc-update add ntp-client default
 * rc-update: '/etc/init.d/ntp-client' not found; aborting
(chroot) ubuntu / # eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.34-gentoo-r12 *
(chroot) ubuntu / # eselect kernel set linux-2.6.34-gentoo-r12
(chroot) ubuntu / # ls -l /lib/modules
total 4
drwxr-xr-x 3 root root 4096 Nov 14 20:50 2.6.34-gentoo-r12
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Nov 15, 2010 7:08 pm    Post subject: Reply with quote

An edit got lost. It looks like the chroot has gone wrong and is a mix
While I retype; reboot to gentoo, when up run
Code:
 ifconfig -a
, and see if interface wlan0 has appeared,
if not
Code:
ls /lib/firmware/rt73.bin
to see if the firmware is installed; if not try
Code:
emerge rt73-firmware
ls /lib/firmware/rt73.bin

if /lib/firmware/rt73.bin is returned
Code:
modprobe -r rt73usb
modprobe  rt73usb
/etc/init.d/net.wlan0 restart
what happens? If the network might be up:
Code:
ping -c 2 8.8.8.8
ping -c 2 google.com

new topic, while in gentoo, try
Code:
emerge consolekit dbus gpm hal ntp policykit udev
then
Code:
rc-update add consolekit default
rc-update add dbus default
rc-update add gpm default
rc-update add hald default
rc-update add ntpd default
rc-update add ntp-client default
again; If the packages got downloaded, emerge should install to gentoo file system vice the ubuntu tempfs or wherever the attempts before went
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 12:06 am    Post subject: Reply with quote

ifconfig was the same in Gentoo. /lib/firmware/rt73.bin is listed. Emerge went nowhere, returned a bunch of errors. All of the rc-updates were `client not found'
After the modprobes, /etc/init.d/net.wlan0 restart showed : ERROR:cannot run net.wlan0 until sysinit completes. Net wlan0 will be started in the boot runlevel.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Nov 16, 2010 12:59 am    Post subject: Reply with quote

boot cd
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mount /dev/sda3 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/env -i TERM=$TERM /bin/bash
env-update
source /etc/profile
date
#date MMDDHHMMYYYY #if needed
export PS1="(chroot) $PS1"
emerge consolekit dbus gpm hal ntp policykit udev
rc-update add consolekit default
rc-update add dbus default
rc-update add gpm default
rc-update add hald default
rc-update add ntpd default
rc-update add ntp-client default
rc-update show #and post results: net.lo should start in boot runlevel, net.wlan0 in default run level
exit
reboot
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 1:25 am    Post subject: Reply with quote

All the rc-updates were 'not found`.
[/code](chroot) ubuntu / # rc-update show
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.lo | boot
net.wlan0 | default
netmount | default
rmnologin | boot
syslog-ng | default
udev-postmount | default
urandom | boot
vixie-cron | default

Just eth0, lo and sit0 after reboot.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Nov 16, 2010 2:09 am    Post subject: Reply with quote

did emerge consolekit dbus gpm hal ntp policykit udev seem to run or were errors thrown or did nothing happen
Code:
whoami
?
Code:
ls -l /usr/portage
do you see a lot of "root root" and "portage portage" and no other owners or groups
assuming emerge is failing:
Code:
wgetpaste /var/tmp/portage/sys-apps/dbus/temp/build.log
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 2:29 am    Post subject: Reply with quote

Emerge consolekit dbus ran, but some of what showed up:

Code:
apm -debug -dell -disk-partition -doc -laptop (-selinux)"
[ebuild  N    ] app-misc/hal-info-20090716
[blocks B     ] <sys-apps/shadow-4.1.4.2-r6 ("<sys-apps/shadow-4.1.4.2-r6" is blocking sys-auth/consolekit-0.4.2-r4)
[blocks B     ] <sys-auth/pambase-20101024 ("<sys-auth/pambase-20101024" is blocking sys-auth/consolekit-0.4.2-r4)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'sys-auth/pambase-20100310', 'nomerge') pulled in by
    >=sys-auth/pambase-20081028 required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
    sys-auth/pambase required by ('installed', '/', 'sys-libs/pam-1.1.2', 'nomerge')
    >=sys-auth/pambase-20080219.1 required by ('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge')

  ('ebuild', '/', 'sys-auth/consolekit-0.4.2-r4', 'merge') pulled in by
    >=sys-auth/consolekit-0.4[policykit] required by ('ebuild', '/', 'sys-auth/polkit-0.96-r1', 'merge')
    consolekit
    sys-auth/consolekit[policykit] required by ('ebuild', '/', 'sys-apps/hal-0.5.14-r2', 'merge')
    (and 1 more)

  ('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge') pulled in by
    sys-apps/shadow required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
    sys-apps/shadow required by world
    sys-apps/shadow required by ('installed', '/', 'sys-apps/slocate-3.1-r1', 'nomerge')


whoami returns "root" (in (chroot)) ls -l /usr/portage is all "portage portage"

Code:
(chroot) ubuntu / # wgetpaste /var/tmp/portage/sys-apps/dbus/temp/build.log
/usr/bin/wgetpaste: /var/tmp/portage/sys-apps/dbus/temp/build.log No such file found.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Nov 16, 2010 2:45 am    Post subject: Reply with quote

one by one then as a block on one is a block on all and the emerge never starts
Quote:
emerge gpm
emerge dbus
emerge hal
emerge udev
emerge ntp
emerge consolekit
emerge policykit

Code:
emerge -1 shadow consolekit pambase
then try again to emerge any failures
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 3:45 am    Post subject: Reply with quote

From "emerge consolekit";
Code:
(chroot) ubuntu / # emerge consolekit

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  N    ] dev-perl/XML-Parser-2.36-r1
[ebuild  N    ] dev-util/intltool-0.41.1
[ebuild  N    ] dev-libs/dbus-glib-0.86  USE="-bash-completion -debug -doc -test"
[ebuild  N    ] dev-libs/eggdbus-0.6  USE="largefile -debug -doc -test"
[ebuild  N    ] sys-auth/polkit-0.96-r1  USE="nls pam -debug -doc -examples -expat"
[ebuild  N    ] sys-auth/consolekit-0.4.2-r4  USE="pam policykit -debug -doc -test"
[blocks B     ] <sys-apps/shadow-4.1.4.2-r6 ("<sys-apps/shadow-4.1.4.2-r6" is blocking sys-auth/consolekit-0.4.2-r4)
[blocks B     ] <sys-auth/pambase-20101024 ("<sys-auth/pambase-20101024" is blocking sys-auth/consolekit-0.4.2-r4)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'sys-auth/pambase-20100310', 'nomerge') pulled in by
    >=sys-auth/pambase-20081028 required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
    sys-auth/pambase required by ('installed', '/', 'sys-libs/pam-1.1.2', 'nomerge')
    >=sys-auth/pambase-20080219.1 required by ('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge')

  ('ebuild', '/', 'sys-auth/consolekit-0.4.2-r4', 'merge') pulled in by
    >=sys-auth/consolekit-0.4[policykit] required by ('ebuild', '/', 'sys-auth/polkit-0.96-r1', 'merge')
    consolekit

  ('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge') pulled in by
    sys-apps/shadow required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
    sys-apps/shadow required by world
    sys-apps/shadow required by ('installed', '/', 'sys-apps/slocate-3.1-r1', 'nomerge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Nov 16, 2010 7:32 am    Post subject: Reply with quote

Code:
emerge --unmerge shadow pambase
emerge consolekit
emerge pambase
emerge shadow


Code:
lsmod
post result
Code:
lsusb -v | wgetpaste
post url
Quote:
lspci -n
post result
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
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 7 of 10

 
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