LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2011, 01:11 PM   #1
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
not able to connect to internet on Oracle Enterprise Linux(OEL) 5.3 on Dell Laptop


Dear Friends,
I am using Oracle Enterprise Linux (OEL)5.3 OS on My Dell Vostro Laptop(Intel x86 Platform, Core 2Duo Processor, 4GB RAM ). My laptop is having dual OS' 1. Windows 7 Professional & 2nd one OEL 5.3

My problem is, i am not able to connect to Internet on my OEL 5.3 OS.
I use this OEL to run Oracle Applications 11i and Oracle 10g RDBMS. Therefore I have to spend most of my time on OEL, but whenever i need internet connection, i need to reboot my system, then boot to windows and get my work done with internet and booting back to OEL. It's been a biggest pain for me & it kills lots of my time.
IF there are any RPM's to be installed on my oEL 5.3 to connect to Internet, can you provide their list or links to download them?
How to resolve this problem?
I'm not an expert on Linux,
Any help is greatly appreciated.
Thanks in advance
-Phani
 
Old 09-23-2011, 07:10 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
In order to help, we need to know the lan card you are trying to connect with. Next we look for the driver. If it is part of your distro, load it. If not, we need to find a copy, and install it. Once installed, configure it.

So, in a konsole, run these commands, copy, and paste the results in this thread.

To know the card - '/sbin/lspci' this will produce a list of devices on your pci bus. If you have more than one lan device, please tell us which one you are tying to get working.

In a konsole, run the command '/sbin/ifconfig' It is possible the driver is loaded, and the card is not configured. This command shows the status of configured interfaces.

In a konsole, run the command '/sbin/iwconfig' This is for wireless interface configuration.

In a konsole, run the command 'lsmod'. This will show the loaded modules on the system.

When you run a command, type what is between the single quote marks, not the quotes. Post back, and we'll go from there.
 
1 members found this post helpful.
Old 09-24-2011, 02:25 PM   #3
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Cliff,
will update you with details soon.
-Phani
 
Old 09-25-2011, 02:19 AM   #4
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Dear Cliff,
Here is the output of the commands:

[root@phani16 ~]# /sbin/lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
0c:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
0f:00.0 SD Host controller: Ricoh Co Ltd Unknown device e822 (rev 01)
0f:00.1 System peripheral: Ricoh Co Ltd Unknown device e230 (rev 01)
0f:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device e832 (rev 01)
You have new mail in /var/spool/mail/root


[root@phani16 ~]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr B8:AC:6F:6C:7F7
inet addr:192.168.1.116 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:3036346302 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:82 Base address:0xe000

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:1937 errors:0 dropped:0 overruns:0 frame:0
TX packets:1937 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2680008 (2.5 MiB) TX bytes:2680008 (2.5 MiB)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:8183 (7.9 KiB)


[root@phani16 ~]# /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

virbr0 no wireless extensions.


[root@phani16 ~]# lsmod
Module Size Used by
vfat 15809 0
fat 51165 1 vfat
usb_storage 76577 0
i915 24001 1
drm 65621 2 i915
ipt_MASQUERADE 7617 1
iptable_nat 11205 1
ip_nat 20845 2 ipt_MASQUERADE,iptable_nat
xt_state 6209 1
ip_conntrack 52897 4 ipt_MASQUERADE,iptable_nat,ip_nat,xt_state
nfnetlink 10713 2 ip_nat,ip_conntrack
ipt_REJECT 9537 2
xt_tcpudp 7105 4
iptable_filter 7105 1
ip_tables 17029 2 iptable_nat,iptable_filter
x_tables 17349 6 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,xt_tcpudp,ip_tables
bridge 53085 0
deflate 7873 0
zlib_deflate 21977 1 deflate
ccm 13505 0
serpent 29249 0
blowfish 12609 0
twofish 46017 0
ecb 7617 0
xcbc 9921 0
crypto_hash 6337 1 xcbc
cbc 8257 0
md5 8129 0
sha256 15297 0
sha512 13121 0
des 20417 0
aes_generic 31745 0
testmgr_cipher 6849 0
testmgr 44593 1 testmgr_cipher
crypto_blkcipher 17601 4 ccm,ecb,cbc,testmgr
aes_i586 37057 0
ipcomp6 11849 0
ipcomp 11465 0
ah6 10433 0
ah4 10305 0
esp6 12225 0
xfrm6_esp 9537 1 esp6
esp4 12353 0
xfrm4_esp 9793 1 esp4
aead 11841 4 ccm,testmgr,esp6,esp4
crypto_algapi 22849 7 ccm,ecb,xcbc,cbc,testmgr,crypto_blkcipher,aead
xfrm4_tunnel 6593 0
tunnel4 7365 1 xfrm4_tunnel
xfrm4_mode_tunnel 6849 0
xfrm4_mode_transport 6209 0
xfrm6_mode_transport 6337 0
xfrm6_mode_tunnel 6721 0
xfrm6_tunnel 11233 1 ipcomp6
tunnel6 7365 1 xfrm6_tunnel
af_key 40785 0
autofs4 24261 2
hidp 23105 2
rfcomm 42457 0
l2cap 29505 10 hidp,rfcomm
bluetooth 53797 5 hidp,rfcomm,l2cap
dm_log_clustered 16804 0
sunrpc 144765 1
ib_iser 34581 0
rdma_cm 34293 1 ib_iser
ib_cm 34861 1 rdma_cm
iw_cm 13125 1 rdma_cm
ib_sa 38709 2 rdma_cm,ib_cm
ib_mad 37717 2 ib_cm,ib_sa
ib_core 55493 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 11845 1 rdma_cm
iscsi_tcp 26560 0
libiscsi 30529 2 ib_iser,iscsi_tcp
scsi_transport_iscsi 31688 4 ib_iser,iscsi_tcp,libiscsi
cpufreq_ondemand 12493 1
acpi_cpufreq 13897 2
dm_mirror 23109 0
dm_multipath 24013 0
scsi_dh 11713 1 dm_multipath
video 21193 0
hwmon 7365 0
backlight 10049 1 video
sbs 18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 261473 25 ipcomp6,ah6,esp6,xfrm6_esp,xfrm6_mode_transport,xfrm6_tunnel,tunnel6
xfrm_nalgo 13381 7 ah6,ah4,esp6,xfrm6_esp,esp4,xfrm4_esp,ipv6
crypto_api 12609 10 ccm,testmgr,crypto_blkcipher,ah6,ah4,esp6,esp4,aead,crypto_algapi,xfrm_nalgo
parport_pc 29157 0
lp 15849 0
parport 37513 2 parport_pc,lp
joydev 13313 0
snd_hda_intel 343537 1
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42817 0
snd_mixer_oss 19009 1 snd_pcm_oss
snd_pcm 72133 2 snd_hda_intel,snd_pcm_oss
snd_timer 24517 2 snd_seq,snd_pcm
snd_page_alloc 14281 2 snd_hda_intel,snd_pcm
sr_mod 19941 0
r8169 37573 0
snd_hwdep 12869 1 snd_hda_intel
cdrom 36577 1 sr_mod
snd 55236 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwd ep
mii 9409 1 r8169
soundcore 11553 1 snd
i2c_i801 11725 0
uvcvideo 53833 0
serio_raw 10693 0
i2c_core 23745 2 i2c_ec,i2c_i801
compat_ioctl32 5569 1 uvcvideo
sdhci 21337 0
videodev 25793 1 uvcvideo
mmc_core 27457 1 sdhci
v4l1_compat 16069 2 uvcvideo,videodev
v4l2_common 24385 2 uvcvideo,videodev
pcspkr 7105 0
sg 36061 0
dm_raid45 66509 0
dm_message 6977 1 dm_raid45
dm_region_hash 15681 1 dm_raid45
dm_log 14529 4 dm_log_clustered,dm_mirror,dm_raid45,dm_region_hash
dm_mod 62201 5 dm_log_clustered,dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache 9537 1 dm_raid45
ahci 34377 7
libata 156933 1 ahci
sd_mod 25153 8
scsi_mod 141589 10 usb_storage,ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,scsi_dh,sr_mod,sg,libata,sd_mod
ext3 124233 6
jbd 56937 1 ext3
uhci_hcd 25548 0
ohci_hcd 24809 0
ehci_hcd 33613 0

And, mine is a Dell Laptop, I have only one LAN device. I am trying to connect to Internet with a local wired broadband connection(which works fine with my windows 7).
Looking forward for your reply,
Thanks
-Phani
 
Old 09-25-2011, 07:43 AM   #5
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
These are your adapters...

Quote:
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

0c:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
And you have an IP address form the ifconfig command...

Quote:
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr B8:AC:6F:6C:7F7
inet addr:192.168.1.116
It appears you have the wired adapter plugged in to either a modem, or a router. Since there is an IP address shown by ifconfig, I know the driver is loaded.

Can you tell me if it is a modem, or a router? Some ISP's supply a device that is a modem and a router in one box. If you don't know for sure, post the make and model of the device. You may have to look at the bottom of the device for stickers that will tell you.

What you can try is to ping some where to see how far you can get. Here are a few examples...

Quote:
ping www.yahoo.com
64 bytes from ir1.fp.vip.ird.yahoo.com (87.248.112.181): icmp_req=1 ttl=55 time=163 ms
and

Quote:
ping 87.248.112.181
PING 87.248.112.181 (87.248.112.181) 56(84) bytes of data.
64 bytes from 87.248.112.181: icmp_req=1 ttl=55 time=164 ms
These two pings are to the same site, Yahoo. They are a little different, the first causes my system to find the IP address of Yahoo, through DNS. The second there is no lookup.

I suspect you do not have DNS addresses defined. DNS servers give the user the address of the server. All we provide is the name ( or URL ).

Post back the results, and the make and model of the modem, or router.
 
Old 09-26-2011, 02:26 PM   #6
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Mr.Cliff,
To my surprise, I was able to connect to internet from my OEL 5.3 Linux when i was trying with different options.
I did the following changes:
1)I plugged in my internet cable,
2)#neat
(My eth0 is already active)
I changed my IP Address Settings from Static to DHCP, and selected the check box to "To Automatically obtain DNS from Provider.
3) #service network restart
4) # ping www.google.com
PING www.l.google.com (74.125.236.80) 56(84) bytes of data.
64 bytes from 74.125.236.80: icmp_seq=1 ttl=55 time=23.2 ms

After the above 4 steps, i could connect to internet and able to browse fine.
---But, here arrives a "NEW PROBLEM" for me ----

Before making all the above changes, these were my actual settings:
I installed my Linux with static IP Address and Host/Domain Names as follows :
IP Address : 192.168.1.167
Host & Domain: phani16.vin.com

After changing my IP settings from Static to DHCP, they are changed as follows:
IP Address : xxx.xx.xx.xxx
Host & Domain : localhost.localdomain.com

As I already told you, I run Oracle Applications 11i on my Linux Distro, and my Oracle Applications requires the hostname (phani16) for many of its operations
and the database listener is also failed to start ( as the listener starts by connecting to the host phani16.vin.com, but that host is not available)
The following are the listener errors:
Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host=phani16.vinsource.com)(Port=1521))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNSrotocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 99: Cannot assign requested address

With this new problem, I can either work with my Oracle Applications by keeping the Static IP address and actual Hostname/Domain
or I can connect to Internet by changing #neat settings from Static to DHCP.
Is there any chance to get my 2 works done(Running Oracle Apps & Web Surfing) without shifting from Static to DHCP and vice versa ??
Looking forward to further help..

Thanks,
-Phani
 
Old 09-26-2011, 07:33 PM   #7
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Are you going through your own router, or are you in a location that supplies the network; like a university or other institution?

If it is your own router, you can set it up so it does DHCP for some addresses, freeing the rest for static IP addresses.

If this is someone else supplying then network, then you are at their mercy. Best thing you can do there is talk to the system admins, and find out it they can help you out.

I run static IP's on several machines on my home network, the rest are DHCP. The home routers I have seen can be configured for the DHCP server to hand out IP's in groups of 4. I set mine up for 8 IP's, that leaves the rest of the 254 addresses for static.

Some institutions set their routers up for all addresses for DHCP, not static.
 
Old 09-27-2011, 01:57 AM   #8
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Mr.Cliff,
I work at my home and I have only one machine, which is my Dell Laptop. There is no other system and networks at my place.
I have a wired broadband connection from a local ISP. They just provided me a cable that fits into my LAN port. No other devices like a modem or router is supplied for me by my ISP. I asked them whether they provide internet through a modem or router, they said it is through modem.

To connect to the internet my IP settings should be DHCP. To work with my Oracle Apps, my ip address and hostname should be static.

My question is, is there any way that i can configure my machine to have the both ??

Someone told me that i can achieve it through #neat, by leaving my eth0 to DHCP for the Internet Connection
and adding a new device like "eth1" to have a static IP and Hostname that can work fine to run my Oracle Applications.
As I have no complete idea on how to do that, I could not try to do that experiment.
If that is a possible solution, could you pls. elaborate me how to do that ?

---------
Thanks,
Phani
 
Old 09-27-2011, 09:31 AM   #9
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I have no idea what #neat is. Have you any further information on this?

You can always add another interface. On a laptop you will have to see what type of nic card you can add. Internal interfaces will be out of the question. There are USB ethernet nics available, or possibly a pcmcia card, the laptop needs a pcmcia slot. The newer laptops for the most part do not have them.

Now the next problem, is connecting two cards through the hardware your ISP provides. Only way I know of would be with a router with at least two ports. ( Most home routers have four ). Of course you would have to configure the router and the second nic. You would need a static route defined for your Oracle apps.

I have never set anything up like this, however, I believe it can be done.

Since this is a business, have you considered finding a professional company to help with the setup? This is not a common situation, at least not that I have run into.
 
Old 09-29-2011, 01:30 AM   #10
phanij
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Dear Mr.Cliff,

'neat' is a linux command that should be run as root user, therefore i just typed it as '#neat'.
It is equivalent to 'system-config-network' command which allows us to change configuration settings like IP settings to dhcp/static, dns settings, adding an extra device(wired,wireless..).

thanks for your concern & spending your valuable time for me.
-----
Regards,
Phani
 
Old 09-29-2011, 09:20 AM   #11
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Phanij,

Thank-you for the update on 'neat'. This must be a unique thing on Oracle, never seen in any another distro I have used.

Just a guess, it is probably a shell script Oracle has written to simplify configuring network interfaces. I'm running Slackware 13.37, its command to do the same is 'netconfig'.

And you are most welcome, I enjoy helping others.
 
  


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
vnc install on oracle enterprise linux (OEL) dthaler Linux - Enterprise 3 08-10-2011 05:09 PM
[SOLVED] Cannot connect to Internet on Dell laptop dafydil Linux - Wireless Networking 10 09-13-2010 02:28 PM
Oracle Enterprise Linux 5.3 NIC bonding on a Dell PE2950/PER 900 k.asaalm Linux - Enterprise 4 10-07-2009 09:37 PM
Oracle Enterprise Linux 5, wireless card is active but does not connect. chandan766 Linux - Newbie 1 04-29-2009 03:13 AM
Oracle Enterprise Linux Installation Problem in Dell PowerEdge SC1435 kausikdatta Linux - Hardware 1 08-02-2007 11:54 PM


All times are GMT -5. The time now is 11:04 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