LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my internet works on one os and not the other (https://www.linuxquestions.org/questions/linux-newbie-8/my-internet-works-on-one-os-and-not-the-other-588468/)

elricofstorm 09-30-2007 04:46 PM

my internet works on one os and not the other
 
i have windows xp and suse 10.2 on seperate hardrives when i first install suse my internet worked fine i logged off and logged into windows then logged back into suse and now no internet
i am using a bt router through network cable i have an onboard netork card realtek rtl 8139
i have broadband light, internet light but no data light i look at the system info screen in suse and admittedly i am a newb at linux but fairly experienced in windows am currently doing mcdst exam
any ideas anyone?

elricofstorm 09-30-2007 05:29 PM

this is what i got when i look at the start up log
and yet when i first installed it worked perfectly but when i logged off logged into windows to get my information from outlook to port it over and relogged back to suse nothing


Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8
done eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
eth0 configuration: eth-id-00:0c:76:52:7b:4f
eth0 (DHCP) . . . . . no IP address yet... backgrounding.
waiting
Waiting for mandatory devices: eth-id-00:0c:76:52:7b:4f __NSC__
13 12 11 10 9 7 6 5 4 2 1 0
eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
eth0 configuration: eth-id-00:0c:76:52:7b:4f
eth0 dhcpcd is still waiting for data
waiting
eth0 interface could not be set up until now
failedSetting up service network . . . . . . . . . . . . . . . .failed

does this help diagnosis anyone please

x_terminat_or_3 09-30-2007 05:47 PM

It is possible your Windows has got a static ip address configured, easy to check that in windows settings, which you should have no problem with.

2ndly, common (maybe not with bt) trick of ISP's is to lock the connection to a single MAC address. In windows it might be possible to change this, I know it certainly is in Linux.

Hope this helps

jschiwal 09-30-2007 06:23 PM

Does your router supply a DHCP service?

Post the output of "sudo /sbin/ifconfig" and the /etc/sysconfig/network/ifcfg-eth-id-00:0c:76:52:7b:4f file.

Also check the output of /sbin/lsmod
Is the 8139too kernel module loaded?

elricofstorm 09-30-2007 07:09 PM

i have literally installed linux testerday so excuse me for being a dunderheed
but is this what you requested
http://pastebin.com/m3101d07b
im ok with windows commands but am completely lost in linux command prompts

jschiwal 09-30-2007 11:46 PM

You have the kernel module loaded for the interface. Without that, you wouldn't get anywhere because the device wouldn't work at all. You didn't post the output of the other commands. You can cut & past from the konsole to your Linux Questions response.

for the ifcfg- file enter:
sudo less /etc/sysconfig/network/ifcfg-eth-id-00:0c:76:52:7b:4f

This is the file that is produced when you run the yast2 network configuration.

For the other one just enter: /sbin/ifconfig eth0

Note: if you haven't set up sudo ( running visudo to edit the /etc/sudoers file ) then you can enter "su -" and enter the root password instead of using sudo. Be careful because as root, you can destroy your system.

elricofstorm 10-01-2007 12:36 PM

ok my cousin suggested try umbuntu no different i still only have internet in windows only this time i didnt get internet when i first install linux
i think i have the results you ask for jschiwal

eth0 Link encap:Ethernet HWaddr 00:0C:76:52:7B:4F
inet6 addr: fe80::20c:76ff:fe52:7b4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Base address:0x6e00

eth0:avah Link encap:Ethernet HWaddr 00:0C:76:52:7B:4F
inet addr:169.254.5.102 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:19 Base address:0x6e00

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:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1332 (1.3 KiB) TX bytes:1332 (1.3 KiB)

bearing in mind i have to log out of windows after copying waht you write to a txt file then to my usb drive lol then log into linux and try it out then visa versa

elricofstorm 10-01-2007 12:40 PM

and here is something my cousin got me to do

1.
Module Size Used by
2.
xt_pkttype 6016 3
3.
ipt_LOG 10624 8
4.
xt_limit 6912 8
5.
snd_pcm_oss 53632 0
6.
snd_mixer_oss 21248 1 snd_pcm_oss
7.
snd_seq 61680 0
8.
snd_seq_device 12812 1 snd_seq
9.
af_packet 29832 2
10.
button 10896 0
11.
battery 14468 0
12.
ac 9476 0
13.
ip6t_REJECT 9344 3
14.
xt_tcpudp 7296 3
15.
ipt_REJECT 9472 3
16.
xt_state 6272 12
17.
iptable_mangle 7040 0
18.
iptable_nat 11652 0
19.
ip_nat 22060 1 iptable_nat
20.
iptable_filter 7168 1
21.
ip6table_mangle 6528 0
22.
ip_conntrack 53344 3 xt_state,iptable_nat,ip_nat
23.
nfnetlink 11032 2 ip_nat,ip_conntrack
24.
ip_tables 17860 3 iptable_mangle,iptable_nat,iptable_filter
25.
ip6table_filter 7040 1
26.
ip6_tables 18756 2 ip6table_mangle,ip6table_filter
27.
x_tables 18564 10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tabl es
28.
ipv6 265120 17 ip6t_REJECT
29.
apparmor 55828 0
30.
aamatch_pcre 18432 1 apparmor
31.
nls_iso8859_1 8320 1
32.
nls_cp437 9984 1
33.
vfat 16640 1
34.
fat 55324 1 vfat
35.
nls_utf8 6272 2
36.
ntfs 210964 2
37.
loop 20488 0
38.
dm_mod 60184 0
39.
sg 38556 0
40.
sd_mod 24704 2
41.
usblp 17792 0
42.
usbhid 52192 0
43.
usb_storage 83008 1
44.
scsi_mod 137224 3 sg,sd_mod,usb_storage
45.
8139too 30592 0
46.
mii 9600 1 8139too
47.
uhci_hcd 26892 0
48.
ide_cd 42272 0
49.
cdrom 38432 1 ide_cd
50.
intel_agp 28188 1
51.
ehci_hcd 34696 0
52.
i2c_i801 11660 0
53.
shpchp 40224 0
54.
snd_intel8x0 36764 1
55.
snd_ac97_codec 97568 1 snd_intel8x0
56.
snd_ac97_bus 6400 1 snd_ac97_codec
57.
snd_pcm 88068 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
58.
snd_timer 27908 2 snd_seq,snd_pcm
59.
i8xx_tco 11288 0
60.
agpgart 35528 1 intel_agp
61.
usbcore 129668 6 usblp,usbhid,usb_storage,uhci_hcd,ehci_hcd
62.
i2c_core 25216 1 i2c_i801
63.
pci_hotplug 35264 1 shpchp
64.
snd 61572 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
65.
soundcore 13792 1 snd
66.
snd_page_alloc 14472 2 snd_intel8x0,snd_pcm
67.
parport_pc 42084 1
68.
lp 15652 0
69.
parport 40008 2 parport_pc,lp
70.
ext3 142088 2
71.
mbcache 12804 1 ext3
72.
jbd 70580 1 ext3
73.
edd 13892 0
74.
fan 9092 0
75.
piix 14084 0 [permanent]
76.
thermal 18568 0
77.
processor 34664 1 thermal
78.
ide_disk 20480 7
79.
ide_core 131144 4 usb_storage,ide_cd,piix,ide_disk

elricofstorm 10-01-2007 12:43 PM

woops sorry thats the same as the pastebin i posted before could an admin remove my previous post and this one please

jschiwal 10-02-2007 01:35 AM

[code]
eth0 Link encap:Ethernet HWaddr 00:0C:76:52:7B:4F
inet6 addr: fe80::20c:76ff:fe52:7b4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Base address:0x6e00

eth0:avah Link encap:Ethernet HWaddr 00:0C:76:52:7B:4F
inet addr:169.254.5.102 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:19 Base address:0x6e00


I'm not certain what is with the "avah". It does have an IP address. Can you ping your router or modem. Look in /etc/resolv.conf. Do you see your ISP's DNS addresses there? Your DHCP client should fill that in for you. Also, look at the output of "/sbin/route". This will show if you have a default gateway. Your DHCP client should set that for you as well.

One thing you might try is "punting". Delete the network interface in the configuration and start over, reinstalling it. I'll do this sometimes in Windows as well.

I don't use Ubunto, so I can't help much with specific Ubuntu config files or programs. Take a look in /etc/ and see if there is an /etc/sysconfig/network or /etc/sysconfig/networking/ directory. It may use a similar file. I was most interested in seeing if DHCP was indicated in the file.

elricofstorm 10-02-2007 07:40 AM

just so i understand when you say look in /etc/ that would be in the file system itself just like looking through the files in c drive in windows?
as i say im a complete newb to linux i know windows inside out and am trying to get my head round the conversion

prashullegaddi 10-02-2007 09:11 AM

Help
 
Quote:

Originally Posted by elricofstorm (Post 2908662)
i have windows xp and suse 10.2 on seperate hardrives when i first install suse my internet worked fine i logged off and logged into windows then logged back into suse and now no internet
i am using a bt router through network cable i have an onboard netork card realtek rtl 8139
i have broadband light, internet light but no data light i look at the system info screen in suse and admittedly i am a newb at linux but fairly experienced in windows am currently doing mcdst exam
any ideas anyone?

Hi, I wud be very glad to know how u setup network in suse. Though, Im having Fedora6, I wanna know. It's been a great problem to setup BSNL broadband in F6 or F7. Please help me.

Waiting for ur quick reply.

x_terminat_or_3 10-02-2007 12:37 PM

Quote:

Originally Posted by jschiwal (Post 2910096)
eth0:avah Link encap:Ethernet HWaddr 00:0C:76:52:7B:4F
inet addr:169.254.5.102 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:19 Base address:0x6e00

Way I remember it, IP addresses starting with 169 are not real IP addresses, but an indicator of failure with acquiring an IP address, which leads me to believe *again* that his windows might have a static IP set, and his Linux box a DHCP one.

elricofstorm 10-07-2007 07:42 AM

windows is set to recieve ip automatically so is umbuntu

elricofstorm 10-11-2007 06:58 AM

problem solved people im afraid i wussed out and bought a d-link pci card no faffing around straight on the net in fact im posting from my linux now :)


All times are GMT -5. The time now is 05:13 AM.