LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-06-2004, 12:40 AM   #1
jeffman12
LQ Newbie
 
Registered: Jun 2004
Location: Vancouver, CAN
Distribution: Slackware 10.0
Posts: 26

Rep: Reputation: 15
Inspiron 5100 and Truemobile 1300


Hey,
I have just been working on getting linux installed on my Dell Inspiron 5100 laptop. Everything is working, but I have some questions about using the TrueMobile 1300 internal mini-pci card and the ndiswrapper program. I followed the instructions and I am able to get it working. However, I am now trying to make it stay on after a reboot, but I can't edit the modprobe.conf file or make a new folder in the lib directory. I know it has something to do with me being able to use the root account, but I'm not sure how to create and edit text files in the terminal.

Also, does someone have a sample code of their modprobe.conf that i could look at?

I also have a question about speeding up boot times when the ethernet cable is unplugged. Right now if the ethernet cable is unplugged, it hangs on "initiating eth0" or whatever the command is, and then fails. If there away to skip this during the boot up, if you know the cable is unplugged?

Thanks for the help!
 
Old 06-06-2004, 07:59 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm typing this on the same rig you've got........

I swiped some code I saw elsewhere and created a file in my /etc/rc.d that I call from rc.inet1. I do it before eth0 is set up and I don't have a delay waiting for the system to boot. Using this, the card comes up on boot every time.

Here is the code I use
Code:
#!/bin/sh
   #
   # rc.wlan0
   #

   #CHANNEL=_
   ESSID="DomainNameHere"
   INTERFACE="wlan0"
   KEY="WEPKeyHere"
   MODE="Managed"
   NETMASK="255.255.255.0"

   #Load the module
   echo "Loading NDISWRAPPER"
   /sbin/modprobe ndiswrapper

   # Set up the WiFi card

   echo "Configuring ${INTERFACE}:"
   /usr/sbin/iwconfig ${INTERFACE} essid ${ESSID}
   #/usr/sbin/iwconfig ${INTERFACE} channel ${CHANNEL}
   /usr/sbin/iwconfig ${INTERFACE} mode ${MODE}
   /usr/sbin/iwconfig ${INTERFACE} key ${KEY}

   # Get IP address from dhcp

   /sbin/dhcpcd -t 10 -d wlan0

   # Bring up interface - I'm not sure if this is necessary, 
   # but it doesn't hurt

   ifconfig wlan0 up
 
Old 06-06-2004, 02:06 PM   #3
jeffman12
LQ Newbie
 
Registered: Jun 2004
Location: Vancouver, CAN
Distribution: Slackware 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks.

Before you replied I had found a website showing how to make a program that you can call to start the wifi card.

A little off topic though, what are the commands for releasing and renewing ip's for network devices and how do you disable enable the network devices. ie. Turn eth0 off while using wlan0.

Thanks
 
Old 06-06-2004, 02:51 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You can turn off network devices with the ifconfig command:

ifconfig eth0 down (or up if you want to turn it on)

Some distros have a shorthand version, ifdown (and ifup)

ifdown eth0

I don't think either of them actually power down the device, but they do make them unavailable to other programs.

As far as renewing the IP address, I think (emphasis on think) that Mandrake uses the dhclient command. Slackware uses dhcpcd, which is why I'm not sure about Mandrake.
 
Old 06-06-2004, 02:59 PM   #5
jeffman12
LQ Newbie
 
Registered: Jun 2004
Location: Vancouver, CAN
Distribution: Slackware 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks, those commands worked for Mandrake.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell TrueMobile 1300 + ndiswrapper cr4sh Linux - Wireless Networking 3 07-15-2005 07:02 AM
ndiswrapper, TrueMobile 1300, and FC4 tommcfarlin4 Fedora 3 06-19-2005 04:50 PM
TrueMobile 1300 on Suse 9.2 Zakirium Linux - Wireless Networking 10 02-18-2005 06:54 AM
TrueMobile 1300 on Morphix -=X=- Linux - Wireless Networking 19 01-31-2005 07:07 AM
Any news on Truemobile 1300 drivers? h0mersimps0n Linux - Wireless Networking 1 08-10-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration