Network Connection Corrupted?

I think I’ve corrupted my (newly installed) system. Last night I booted my PC without switching on my modem first. Subsequently, when I wanted to go on line I switched on the modem and expected the system to recognise this (I have a live Ubuntu disk which behaves in this way). But no. I saw a little network icon at the bottom right of the screen so I clicked on this and tried some options which looked as though they might reapply the connection (Sorry, can’t remember what it was). But it didn’t work, and worse when I rebooted my connection was still down. So it looks as if I have done something silly to corrupt my network connection.

Two questions flow from this:-

  1. (Urgent) How can I restore my lost network connectivity?

  2. (Less urgent). Once I’ve done this, in future how can I apply a new network connection during a running SUSE session?

Or should I just give up and re-install the system from scratch? Even if I do this, Q2 still applies.

As you can probably gather from my description, I am a relative novice at all things Linux related, so gentle explanations/castigations please!

Peter

Open a terminal window and issue the commands below (they will ask you for your rootpassword):
su -c ‘rcnetwork restart’
Post what happens + output here
Same for:
su -c ifconfig

Guess what? Tried it tonight and it worked - I am posting this via my SUSE connection. Maybe I was overtired last night when I encountered this problem.

I still tried what you suggested, and the results are:-

su -c ‘rcnetwork restart’

Shutting down the NetworkManager…done
Shutting down network interfaces:
eth0 device: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
…done pan0
…doneShutting down service network . . . . . . . . …done
Starting the NetworkManager…done

It also generated some error messages:-

No configuration found for pan0
Nevertheless the interface will still be shut down
bridge-utils not installed

su -c ‘ifconfig’

eth0 Link encap:Ethernet HWaddr 00:19:66:94:AC:93
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe94:ac93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3714 errors:0 dropped:154906985 overruns:0 frame:0
TX packets:3051 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4930834 (4.7 Mb) TX bytes:352228 (343.9 Kb)
Interrupt:221 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:340 (340.0 b) TX bytes:340 (340.0 b)

Fluent Bulgarian to me, though I would guess that the first command tries to re-establish the network connection. Is this the answer to my original second question?

Thanks for your help, even though in this case it looks as if I was a bit premature in posting the query!

Peter