View previous topic :: View next topic |
Author |
Message |
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 3:00 am Post subject: |
|
|
GivePeaceAChance wrote: | You know, that is one helluva good idea, because I bet this isn't the last time I'll be doing this. Besides, I've learnt so much from trying (and failing) to install Gentoo. It's really "helpful." |
I learned sooooo much from my first install of Gentoo, it is the best learning tool ever! _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 3:14 am Post subject: |
|
|
Hmmm.... we've got something, but firefox still won't load anything.
I have a specific SSID "host" and a specific key for WEP and it seems not to be noticed here. I've even got it set in /etc/conf.d/net
Still nothing though.
From within Gentoo:
Code: |
eth1 unassociated ESSID:off/any
Mode:Managed Frequency=nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1065 Missed beacon:0
|
|
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 3:39 am Post subject: |
|
|
You need to hit the on/off button for your laptops wifi card. It looks as if it is off. _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 3:39 am Post subject: |
|
|
Nein. It was on..... |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 3:46 am Post subject: |
|
|
Are you sure? Because sometimes it looks like it is but it really isn't. If it is, then you should try doing the setup of the wifi manually so we can rule out any of the config files messing up. _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 3:51 am Post subject: |
|
|
I checked again and it was on. I did "/etc/init.d/net.eth1 start" and it said that it was already started...
Something I noticed on bootup:
Code: |
ERROR: Cannot run ipw3945d until sysinit completes
ipw3945d will be started in the boot runlevel
FATAL: Error running install command for ipw3945
|
edit:
when i run ifplugd, it says that "an instance of ifplugd for eth0 running"
Also, I deleted net.eth0, is there a way to get it back? Does someone have the file they could paste here for me? |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 12:21 pm Post subject: |
|
|
GivePeaceAChance wrote: | I checked again and it was on. I did "/etc/init.d/net.eth1 start" and it said that it was already started...
Something I noticed on bootup:
Code: |
ERROR: Cannot run ipw3945d until sysinit completes
ipw3945d will be started in the boot runlevel
FATAL: Error running install command for ipw3945
|
edit:
when i run ifplugd, it says that "an instance of ifplugd for eth0 running"
Also, I deleted net.eth0, is there a way to get it back? Does someone have the file they could paste here for me? |
If you didn't create the net.eth0 than it was just a link to net.lo .
Can you run the ipw3945d after the system is booted up? Or is it already running once the boot up is complete? _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 7:49 pm Post subject: |
|
|
ifconfig:
Code: |
eth1 Link encap:Ethernet HWaddr 00:13:02:7E:21:16
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:895 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0x4000 Memory:ffcff000-ffcfffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
ipw3945d:
Code: |
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.22
Intel PRO/Wireless 3945ABG Network Connection found at:
/sys/bus/pci/drivers/ipw3945/0000:05:00.0
Daemon launched as pid 7670. Exiting.
Info, eth1: dhcpcd 3.0.16 starting
Info, eth1: hardware address = 00:13:02:7e:21:16
Info, eth1: broadcasting for a lease
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: waiting on select for 20 seconds
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Debug, eth1: sending DHCP_DISCOVER with xid 726809180
Info, eth1: exiting
|
iwconfig:
Code: |
eth1 unassociated ESSID:off/any
Mode:Managed Frequency=nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:308 Missed beacon:0
|
dhcp -d eth1:
Code: |
Info, eth1: dhcpcd 3.0.16 starting
Info, eth1: hardware address = 00:13:02:7e:21:16
Info, eth1: broadcasting for a lease
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: waiting on select for 20 seconds
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Debug, eth1: sending DHCP_DISCOVER with xid 662162346
Info, eth1: exiting
|
I'm lost as to why it's not letting my wireless connection show up. Am I looking in the wrong place?
EDIT:
I was just checking my router settings and it had this:
WAN is connected
100Mbps FULL Duplex |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 8:57 pm Post subject: |
|
|
Did you specify a WEP key and an access point to connect to in the iwconfig command? _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 9:10 pm Post subject: |
|
|
What do you mean? I did that stuff in the conf.d/net file if that's what you mean. If you think that file could be the problem I could post it. |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jun 01, 2007 9:22 pm Post subject: |
|
|
GivePeaceAChance wrote: | What do you mean? I did that stuff in the conf.d/net file if that's what you mean. If you think that file could be the problem I could post it. |
Well because if you look at your iwconfig output you can see that you are not associated with any accesspoints. So that is why you are not getting dhcp responses and hence no ip addresses. Did you start the net.eth0 script? _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54782 Location: 56N 3W
|
Posted: Fri Jun 01, 2007 9:28 pm Post subject: |
|
|
GivePeaceAChance,
Please post your /etc/conf.d/net file and your output from Code: | rc-update -s --verbose |
Other than lo, nothing network related should be in the boot runlevel _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 9:59 pm Post subject: |
|
|
Quote: | Did you start the net.eth0 script? |
That's the file I deleted, since my wireless is eth1. Can you tell me how I could get the conf.d/net.eth0 file back? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54782 Location: 56N 3W
|
Posted: Fri Jun 01, 2007 10:02 pm Post subject: |
|
|
GivePeaceAChance,
All your nextwork devices are symbolic links to net.lo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 10:11 pm Post subject: |
|
|
What do you mean by that?
And here's the output of rc-update -s --verbose
Code: |
[some random stuff] Broken runlevel entry: /etc/runlevels/default/net.eth0
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
gkrellmd |
gpm |
hdparm |
hostname | boot
ipw3945d |
keymaps | boot
local | default nonetwork
localmount | boot
metalog | default
modules | boot
net.eth1 | default
net.lo | boot
netmount | default
nscd |
numlock |
rmnologin | boot
rsyncd |
splash |
sshd |
urandom | boot
xdm | default
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54782 Location: 56N 3W
|
Posted: Fri Jun 01, 2007 10:42 pm Post subject: |
|
|
GivePeaceAChance,
What about your /etc/conf.d/net file ?
The script net.lo is the only 'real' network script. It behaves as whatever network interface its invoked as so calling net.lo as net.eth0 makes it set up eth0 .. and so on. You make new names for net.lo by creating symbolic links to it. So, Code: | cd /etc/init.d
ln -s net.lo net.eth0 | makes a symbolic link with the name net.eth0 pointed to net.lo
ls -l will show it _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Fri Jun 01, 2007 10:55 pm Post subject: |
|
|
/etc/conf.d/net
Code: |
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth1=( "dhcp" )
# Prefer iwconfig over wpa_supplicant
modules=( "iwconfig" )
# Configure WEP keys for Access Points called ESSID1 and ESSID2
# You may configure up to 4 WEP keys, but only 1 can be active at
# any time so we supply a default index of [1] to set key [1] and then
# again afterwards to change the active key to [1]
# We do this incase you define other ESSID's to use WEP keys other than 1
#
# Prefixing the key with s: means it's an ASCII key, otherwise a HEX key
#
# enc open specified open security (most secure)
# enc restricted specified restricted security (least secure)
key_GPAC="[1] 1234567890 key [1] enc open"
#key_ESSID2="[1] aaaa-bbbb-cccc-dd key [1] enc restricted"
# The below only work when we scan for available Access Points
# Sometimes more than one Access Point is visible so we need to
# define a preferred order to connect in
preferred_aps=( "GPAC" )
ifplugd_eth1="..."
ifplugd_eth1="--api-mode=wlan"
dhcp_eth1="nodns nontp nonis"
|
|
|
Back to top |
|
|
GivePeaceAChance Guru
Joined: 26 May 2007 Posts: 480
|
Posted: Sat Jun 02, 2007 9:54 pm Post subject: |
|
|
Hawt damn!!!!
I want to appologize for my noobishness. I noticed today that no-one had replied, so I went ahead and copied down all the commands in this thread and booted to gentoo to get the output of each one. Then I tried man iwconfig, and read through it, and realized that I needed to set the stuff, like sonic said.... duhhhh.... man, I'm a noob. so I did that, and lo and behold, this post is from within gentoo. So basically, I've got internet, and all I had to do was actually configure it. I wasn't configuring it and that's why it wasn't working. But now I'm absolutely elated! Thanks sonic and everyone else who helped me out. DAAAAAAYMMMMMM |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Sun Jun 03, 2007 12:21 am Post subject: |
|
|
GivePeaceAChance wrote: | Hawt damn!!!!
I want to appologize for my noobishness. I noticed today that no-one had replied, so I went ahead and copied down all the commands in this thread and booted to gentoo to get the output of each one. Then I tried man iwconfig, and read through it, and realized that I needed to set the stuff, like sonic said.... duhhhh.... man, I'm a noob. so I did that, and lo and behold, this post is from within gentoo. So basically, I've got internet, and all I had to do was actually configure it. I wasn't configuring it and that's why it wasn't working. But now I'm absolutely elated! Thanks sonic and everyone else who helped me out. DAAAAAAYMMMMMM |
Glad you figured it out man! The man pages are seriously your best friend. _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54782 Location: 56N 3W
|
Posted: Sun Jun 03, 2007 10:12 am Post subject: |
|
|
GivePeaceAChance,
Now you are not so noobish as your were before you fixed you network.
The problem solution method you learned will help you solve other problems too.
Well done _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|