LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2004, 03:44 PM   #1
szain
LQ Newbie
 
Registered: Jun 2004
Location: Canada
Posts: 4

Rep: Reputation: 0
USb NIC problem with SuSE 9.0


I recently installed SuSE 9.0 on the machine that is now a dual boot with XP and SuSE. The NIC I am using is HP USB Nic. This computer is connected to the Internet through broadband Cable. The problem I seem to be having is that when I boot up, DHCP doesnt get the IP address and thus I cant get online. However, I can get it to work by opening Konsole and then logging on as a SU, I type in DHCPCD and starting it manually. It seems to work fine after that untill I reboot again. I have to do this everytime I boot up. I dont know why this is happening. Does it have anything to do with the fact that I have a USB Nic? or is it SuSE 9.0 specific? I used to SuSE 9.1 LIve CD and also Knoppix Live CD just to see if I get the same problem but I dont and DHCP seems to run fine.
Any suggestions? I am very new to Linux and I dont know what I can do. I tried to do the fixed IP in Yast NIC option but that didnt work either. I have no problem with XP either so I am open to all suggestions and will appreciate everyones help.
Thanx
 
Old 06-03-2004, 05:30 PM   #2
szain
LQ Newbie
 
Registered: Jun 2004
Location: Canada
Posts: 4

Original Poster
Rep: Reputation: 0
anybody?
 
Old 06-04-2004, 02:26 AM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
COuld just be a timing issue with usb brought up after networking or something like that.

You could try entering the command you use to start the network into
rc.local
wherever rc.local is on your system possibly /etc/rc.local
 
Old 06-04-2004, 09:36 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
This simple script can be the solution:

#! /bin/sh

# Brings up the dchpcd USB:

dhcpcd

echo "Done!"

The script just does what you do manually in the command line.

Save it to a text file, give it exec permission, own it to root/root and save it to /etc/init.d
Then, open yast2, go to System > runlevel editor and choose expert mode.
YouŽll see your script there! Just tick the box to run the script in the runlevel 3 and 5 and save it. Reboot and see if the boot process runs your script and if it grabs an IP ok.

cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2 External Nic, 1 Internal Nic Router Problem trevanda Linux - Networking 0 10-13-2004 01:20 AM
Another Suse 9.1 + router/NIC problem neofile Linux - Networking 24 07-27-2004 09:18 AM
Problem with external USB harddrive and Suse 9.1 Tommy_Taifun Linux - Hardware 4 05-24-2004 04:55 AM
SuSE 9.0. Pro. NIC problem fuzzai Linux - Networking 0 02-12-2004 10:22 PM
usb mouse problem under suse 9 feetyouwell Linux - Software 1 01-20-2004 09:18 AM

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

All times are GMT -5. The time now is 02:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration