View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 31, 2005 3:16 pm 
Offline
Joined: Tue May 17, 2005 3:34 pm
Posts: 43
Location: Switzerland
as i have no lan in the living room, i thought it would be a good idea, to make my mythtv box wireless.

after installation of knoppmyth, i unplugged the lan cable and got my ASUS WL-138G PCI wlan card to work, thanks to ndiswrapper, desribed here: http://ndiswrapper.sourceforge.net/phpw ... stallation

when i reboot, i see the following:
Code:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval n

and this is repeated six times
after that it prints
Code:
failed to bring up eth0


when knoppmyth is up i have no connection to the wlan router. when i run
Code:
dhclient wlan0

it says the same:
Code:
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval n


although i added ndiswrapper to the /etc/modules. so i have to repeat the steps
Code:
iwconfig wlan0 essid ESSID
iwconfig wlan0 mode Managed
iwconfig wlan0 key restricted XXXXXXXX
iwconfig wlan0 essid ESSID
dhclient wlan0


and now my wlan adapter is working... how can i get rid of eth0 and just use wlan0?

_________________
R5A26 / ASUS Pundit AB-P 2600 / Celeron 2.66 GHz / DVD-Rom Asus E616 / Hauppauge PVR350 / 512 MB, PC-2700 / HDD Samsung SpinPoint P120, 200GB, 7200RPM / WL-138G WLAN PCI-Card


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 5:08 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
When I was using Wlan, I just went into bios and disables the built in lan port. That is the easiest way. If it is a seperate card, then just yank the card.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 5:52 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
edit /etc/network/interfaces

remove auto eth0

add auto wlan0

for more wlan options search the forum it's been covered many times.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 1:13 pm 
Offline
Joined: Tue May 17, 2005 3:34 pm
Posts: 43
Location: Switzerland
Xsecrets wrote:
for more wlan options search the forum it's been covered many times.


did that, did not help

this is what my /etc/network/interfaces looked
Code:
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
iface lo inet loopback
iface eth0 inet dhcp


changed it to
Code:
auto lo wlan0
iface wlan0 inetdhcp
wireless_essid #####
wireless_mode Managed
wireless_key off
dhclient wlan0


during startup it says something he did not know lo=lo
if i just write auto wlan0 at the first line he complains about he did not know wlan0=wlan0...

_________________
R5A26 / ASUS Pundit AB-P 2600 / Celeron 2.66 GHz / DVD-Rom Asus E616 / Hauppauge PVR350 / 512 MB, PC-2700 / HDD Samsung SpinPoint P120, 200GB, 7200RPM / WL-138G WLAN PCI-Card


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 1:22 pm 
Offline
Joined: Tue May 17, 2005 3:34 pm
Posts: 43
Location: Switzerland
i tried this way as seen here
http://mysettopbox.tv/phpBB2/viewtopic. ... 6&start=0&
Code:
auto lo wlan0
#auto lo eth0
iface lo inet loopback
#iface eth0 inet dhcp
iface wlan0 inet dhcp


still no go

i have now the same problem for wlan0 as i had for eth0

when i reboot, i see the following:

Code:
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval n


and this is repeated six times
after that it prints
Code:
failed to bring up wlan0

_________________
R5A26 / ASUS Pundit AB-P 2600 / Celeron 2.66 GHz / DVD-Rom Asus E616 / Hauppauge PVR350 / 512 MB, PC-2700 / HDD Samsung SpinPoint P120, 200GB, 7200RPM / WL-138G WLAN PCI-Card


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 4:49 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
try this

Code:
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
   wireless_mode managed
   wireless_essid #####
   wireless_key verylongwephexkeyhere #only use this line if you use wep key.


I'm not sure what you use for wpa psk as I haven't really messed with that yet. and you don't need dhclient in there anywhere. and there is a space between inet and dhcp.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 2:00 pm 
Offline
Joined: Tue May 17, 2005 3:34 pm
Posts: 43
Location: Switzerland
Xsecrets wrote:
try this

Code:
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
   wireless_mode managed
   wireless_essid #####
   wireless_key verylongwephexkeyhere #only use this line if you use wep key.


I'm not sure what you use for wpa psk as I haven't really messed with that yet. and you don't need dhclient in there anywhere. and there is a space between inet and dhcp.


thanks man, that worked perfectly!

_________________
R5A26 / ASUS Pundit AB-P 2600 / Celeron 2.66 GHz / DVD-Rom Asus E616 / Hauppauge PVR350 / 512 MB, PC-2700 / HDD Samsung SpinPoint P120, 200GB, 7200RPM / WL-138G WLAN PCI-Card


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 10:03 pm 
Offline
Joined: Sat Nov 06, 2004 12:29 pm
Posts: 8
Hi both my eth0 and wlan where both working when I installed until I upgraded the kernel using the .conf file.....

but now my wlan netgear USB is not working
when I enter
/etc/init.d/wlan start
starting WLAN devices: FATAL: Module p80211 not found
Failed to load p80211.o

I use the code and edit but still not working

did the kernel not install the module? or do I need to edit something?


Top
 Profile  
 
PostPosted: Sat Jul 09, 2005 5:15 pm 
Offline
Joined: Sat Jun 25, 2005 4:06 pm
Posts: 2
I had a similar issue, installed initially using eth0, then moved to tv room and use wlan0.

My problem now is that when the mythtv user logs in and trys to do anything from the main screen (six circles) the frontend hangs forever. I logged the ouput of mythfrontend, included below. Looks like myth is still looking for the (no longer existing) eth0, and hanging.

How to I tell myth that I'm using wlan0, not eth0?


2005-07-09 15:49:40.573 New DB connection, total: 1
Total desktop width=640, height=480, numscreens=1
<snip>
<date,time> mythfrontend version: 0.18.1.2.20050510-1 www.mythtv.org
<d,t> Enabled verbose msgs : important general
<d,t> Switching to square mode (blue)
mythtv: could not connect to socket
mythtv: Connection refused
<snip>
<d,t> Registering MythMusic Media Handler as a media handler
Failed to find network interface eth0
SIP listening on IP Address :5060 NAT address
SIP: Cannot register; proxy, username or password not set
Destr5oying SipFsm object


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 2:14 am 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
In my experience, it always better to make sure to have EITHER eth0 OR wlan0, since they are most likely on the same exact subnet, and that seems to cause trouble (timeouts, etc.)

I've had both co-exist to debug stuff, but by setting eth0 to be on a different subnet, matching with a laptop connected to it over crossover Ethernet cable.


Top
 Profile  
 
 Post subject: Try this...
PostPosted: Wed Feb 01, 2006 7:49 pm 
Offline
Joined: Fri Jan 27, 2006 9:53 am
Posts: 15
http://mysettopbox.tv/phpBB2/viewtopic.php?t=8228

_________________
Toshiba 51" (51H84) TV.
Celeron D 320 (2.4 Ghz)
256 RAM
80 Gb HD
Running KnoppMyth (R5D1)
Hauppauge WinTV-PVR-150
MSI GForce FX 5500 card with 256 RAM


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu