Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Supernatural / ghosts / spirits in my laptop!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Wed Nov 21, 2007 5:25 pm    Post subject: Supernatural / ghosts / spirits in my laptop!! Reply with quote

I have been trying for about a month to get wireless working on my laptop, with little success. Everything from ipw2100 drivers for the build in Intel centrino, to ndiswrapper for Linksys USB external device and PCMCIA. Currently I have no idea what is in the computer, whats installed, what isnt, which driver support is in the kernel which modules have loaded. I sorta just gave up about a week ago. The /etc/init.d/eth1 device wouldnt start because of some problem with the wpa_supplicant.conf some error loading up, anyway, yeah it wouldnt associated with my router or pull an IP address off.

I could start posting all the errors and configuration files, but what I wanted to say was that today I noticed that I was connected wirelessly and through my ethernet connection. I thought.,.. that cant be! So pulled out the network cable, and tried to continue working on the internet, new websites, new chat conversations, I WAS ONLINE! 192.168.1.110 IP got pulled from the router somehow, which is somewhat odd since the other devices are 101,102,103,104 respectively, why the sudden DHCP jump to 10. And um... yeah. So now I've obviously done something in the last month which I didnt realise, and now I dont know what it was or how I did it! Annoying! Can I do some forensics work to find out at what point, day time, after which changes my wireless access started working?

Also, today I added an entry in /etc/conf.d/rc and when I restarted I get an error saying that the time modification for this file or an init.d script is in the future. Ive since removed the entry, but how can i fix the error that i keep getting?
_________________
None
Back to top
View user's profile Send private message
Rhywek
n00b
n00b


Joined: 02 Jan 2005
Posts: 40

PostPosted: Wed Nov 21, 2007 9:45 pm    Post subject: Reply with quote

Try:

[code]grep eth1 /var/log/messages[/code]

You will see info about that interface from the past. Try to see when it started working.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu Nov 22, 2007 4:43 am    Post subject: Reply with quote

you can also do an 'lsmod' to see what modules are loaded and which ones are in use.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Thu Nov 22, 2007 4:46 am    Post subject: Reply with quote

Code:
thinkpad alechiko # lsmod
Module                  Size  Used by
geode_aes              10248  0
lcd                     9092  0
display                 9364  0
videodev               30976  0
v4l2_common            20864  1 videodev
v4l1_compat            17412  1 videodev
compat_ioctl32          5504  0
scsi_tgt               16840  0
scsi_wait_scan          5632  0
ati_agp                12940  0
sbs                    23176  0
fan                     9604  0
strip                  27876  0
snd_seq_dummy           7940  0
snd_seq_oss            33664  0
snd_seq_midi_event     11136  1 snd_seq_oss
snd_seq                50640  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12044  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            43168  0
snd_mixer_oss          19584  1 snd_pcm_oss
ieee80211_crypt_wep     9344  0
ieee80211_crypt_ccmp    11520  0
ieee80211softmac       34944  0
ieee80211_crypt_tkip    15488  0
ieee80211              50156  3 ieee80211_crypt_ccmp,ieee80211softmac,ieee80211_crypt_tkip
ieee80211_crypt        10112  4 ieee80211_crypt_wep,ieee80211_crypt_ccmp,ieee80211_crypt_tkip,ieee80211
rc80211_simple          8704  0
mac80211              126984  1 rc80211_simple
cfg80211               11528  1 mac80211
configfs               29584  0
dm_mod                 57024  0
snd_intel8x0           35996  1
snd_ac97_codec         95136  1 snd_intel8x0
ac97_bus                6528  1 snd_ac97_codec
snd_pcm                75780  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              25092  2 snd_seq,snd_pcm
snd                    52580  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
airo                   71196  0
video                  24080  0
snd_page_alloc         14344  2 snd_intel8x0,snd_pcm
button                 12816  0


Well... airo and ieee modules are the only things I can think of related to wifi. They dont seem to be loaded.. So what on earth is going on??

Tried the logs as well. Seems like it was always connecting, but that doesnt make much sense because I was checking ifconfig/iwconfig regularly when i played around with it and i never saw that eth1 had acquired an IP address:

Nov 5 21:06:10 thinkpad dhcpcd[30393]: eth1: probing for an IPV4LL address
Nov 5 21:06:10 thinkpad dhcpcd[30393]: eth1: checking 169.254.73.102 is available on attached networks
Nov 5 21:06:10 thinkpad dhcpcd[30393]: eth1: sendto: No buffer space available

Thats part of the log file which is still pasting (until i can figure out how to get it to print out all references to eth1 after Nov 21 at say 2030 I recoginize that 169.* from a windows problem I once had, where it fails to pull the a correct IP from the router and TCP/IP has to be reinstalled over itself. No idea what that means for linux..
_________________
None
Back to top
View user's profile Send private message
Rhywek
n00b
n00b


Joined: 02 Jan 2005
Posts: 40

PostPosted: Thu Nov 22, 2007 10:18 am    Post subject: Reply with quote

To print all references to eth1 after (and including) Nov 21 at 20:30, you can do this:
Code:
grep -A 999999999 '^Nov[[:space:]]*21[[:space:]]*20:30.*eth1' /var/log/messages |head -n 10


The only problem is that there actually must be an entry for eth1 at that time in the log, otherwise it will fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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