LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-24-2007, 04:14 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Rep: Reputation: 41
internet fails, but network is up


hi,

i have recently installed ndiswrapper on opensuse 10.2. Everything was working ok until i rebooted. The Ndiswrapper module is loaded, and the network is up, but all the internet browsers can't get to the internet. I tried pinging the opensuse server and got a reply. Does anybody know how to rename interfaces, the system renamed wlan0 to wlan1 and i think that's the problem.
 
Old 05-24-2007, 04:42 PM   #2
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
DNS problem?

The problem might be that you don't have any DNS servers set up

did you ping the server by using a domain name or IP address?

If its an IP address then DNS might be the problem.
 
Old 05-24-2007, 04:58 PM   #3
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
i pinged with the ip address, i also tried connecting to google with its ip address, but it still can't connect
 
Old 05-24-2007, 05:50 PM   #4
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
diagnostics

In yast, you can rename interfaces

Just delete the interface and make it again.
 
Old 05-24-2007, 07:03 PM   #5
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
ok, i tried to recreate the interface, but at boot, it always renames it to wlan1 instaed of wlan0. the same thing happened to eth0, it was renmaed eth3
 
Old 05-24-2007, 07:11 PM   #6
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
??

I've never seen that behavior...

but I don't think the interface number has anything to do with browsers not being able to connect to the internet...they're just going to go to the protocol interface, and the protocol interface should be connected through the kernel to the interface or something like that.

Run these as root:

"ifconfig"

and

"route"

how do you connect to the internet?

 
Old 05-25-2007, 04:16 AM   #7
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
Quote:
Originally Posted by rabbit2345
ok, i tried to recreate the interface, but at boot, it always renames it to wlan1 instaed of wlan0. the same thing happened to eth0, it was renmaed eth3
Wouldn't this indicate that some other device or device set is taking wlan0 and eth0 ?
 
Old 05-25-2007, 09:39 AM   #8
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
Yeah...
Rabbit
Why don't you tell us what your network interfaces are like
and
Trying a wired connection?
 
Old 05-25-2007, 11:25 AM   #9
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
What is the content of /etc/resolv.conf? About the interface name problem, you need to edit the /etc/udev/rules.d/30-net_persistent_names.rules file and delete any duplicate entries and rename the interfaces as you wish.
 
Old 05-25-2007, 03:01 PM   #10
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
ok, i tried to use the wired connection, but that one doesn't work either, it used to work before it was renamed. and when i tried again to redo the interface, it completly stopped working. now i can't even ping a server. also here is the content from /etc/resolv.conf

nameserver 192.168.11.1
search triad.rr.com

the devices were all working fine and properly named until i rebooted
 
Old 05-25-2007, 04:39 PM   #11
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
LAN Port numbers increment up on each Reboot

I had a problem with LAN port numbers going up on each reboot. Here was that solution...

PROBLEM: On Each Reboot of your SuSE 10.2 Linux computer, the ETHx port assignment increments one adapter higher. (Exp. At Start you are eth0, then next it is eth1 and so forth)

WHY: The problem is related to how udev handles the hardware naming, incrementing it up each time your restart Linux.

SOLUTION: Remark out a rule setting and remove all previous ethx entries.

Here is the solution:

Start a terminal session and enter su and your password. Then use the VI text editor to modify two configuration files.

#vi /etc/udev/rules.d/31-network.rules //Load “31-network.rules” config file into VI

# comment out the first SUBSYSTEM== //add a # to comment out the first SUBSYSTEM rule

#wq // write modified file back to disk

#vi /etc/udev/rules.d/30-net_persistent_names.rules //Load “30-net_persistent_names.rules” config file into VI

#dd // Use the VI dd command to remove ALL ethx entries so that you will use eth0 on reboot.

#wq //Save modified file

You are done with the rule changes. Reboot your computer and then use Yast Network to reenter your network card using eth0 and the driver forcedeth. In my case, no network card appears in the list. You add a new network card with the default of device 0, static-0 and the forcedeth driver. Save your entries and reboot your computer. You should find that the network entry works and continues to be eth0 on each reboot.


Thank You,
 
  


Reply

Tags
ndiswrapper



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
internet connection fails after a while.. krylkn Linux - Networking 1 04-11-2007 11:09 PM
Trying to connect to Internet via GPRS always fails, why? onorua Linux - Networking 1 01-10-2007 08:35 PM
Coonection to internet fails with Suse 9.2 HULLU SUSE / openSUSE 0 11-17-2004 06:32 PM
When internet fails pc gets real sloooooow elluva Linux - Networking 3 12-02-2003 01:11 PM
connecting to internet fails under mandrake8.2 but can browse... einstein Linux - Networking 1 04-19-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:51 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
Open Source Consulting | Domain Registration