03-18-2013
How to connect internet in Linux OS
How to enable internet on my Linux OS
My OS: Red Hat Fedora
Release 9 (Sulphur)
version: 2.6
I have to connect via my Nokia cell phone via cable.
This way only I had been using internet on my Windows OS.
If any software is required to install on my UNIX for internet, then I don't have any. If any s/w needs to be downloaded, please provide me link also if possible.
Waiting eagerly for your reply!!!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I running HPUX 11.0,
Netscape gives me an error "Unable to locate Server" when using a www.something.com address.
If I use an IP address I get past the router and onto the Internet.
My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server.
I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies
2. Solaris
i have just installed solaris 10 on a 60 gb hard drive. now im trying to install my nic driver but when i put in the floppy disk for the nic card it cant read it, so then i found that i have to mount the floppy drive and i tried putting in the mount command but i dont know where to mount it and if... (38 Replies)
Discussion started by: vutty81
38 Replies
3. Solaris
Hi I installed solaris developer edition 1/08 today.I want to connect to Broadband internet through my ADSL 2+ Modem/Router with a username and password.
plz help in this case,I am new to sun solaris:confused:
the modem itself is a router it worked well on ubuntu and red hat (3 Replies)
Discussion started by: santugvd
3 Replies
4. SuSE
:mad: iam connecting to internet using gprs ccellphone in windows
in linux how to connect to gprs internet
presently iam using linux distribution opensuse 10.3
my phone is LGB2070
using com1 port
the driver for windows is in .inf format
... (4 Replies)
Discussion started by: seshumohan
4 Replies
5. Linux
HI,
Am using GPRS ( MOB # 3230 ) internet connection in windows
Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 )
Please help me..
Thanks in adv.. (1 Reply)
Discussion started by: bharath raja
1 Replies
6. Linux
Hi everyone. I use modem(ethernet adaptor and realtek driver) but after installing ubuntu, I had no chance of installing internet so I decided to look for another linux distribution. Sorry for bothering you, but what do you think is the easiest linux distribution to connect to internet? (1 Reply)
Discussion started by: Sechki
1 Replies
7. Solaris
Dear freinds...
I downloaded solaris for x86 and was able to configure the lan correctly.. I can ping and share with other destops through lan... but still I can't connect to internet ? can you please help..
I put my default gateway which is 192.168.1.1 to /etc/defaultrouter but with no use..... (13 Replies)
Discussion started by: yahyaaa
13 Replies
8. Linux
Hi,
Can someone guide me regarding how to connect to internet.
what are steps?
Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies
9. Red Hat
What all is required so that I can use internet on my Linux OS
My OS: Red Hat Fedora
version: 2.6
I have to connect via my Nokia cell phone via cable.
This way only I had been using internet on my Windows OS.
If any software is required to install on my UNIX for internet, then I don't... (1 Reply)
Discussion started by: ravisingh
1 Replies
10. UNIX for Dummies Questions & Answers
I know nothing about Linux/Unix. The fact that it is Linux/Unix is what someone told me the server is. It has been set up with the work stations in my home and would connect to the internet (DSL) and work with the other stations. We now have an actual office that does not have DSL, but rather has... (2 Replies)
Discussion started by: BgDunbar
2 Replies
LEARN ABOUT PHP
socket-context-options
SOCKET-CONTEXT-OPTIONS(3) 1 SOCKET-CONTEXT-OPTIONS(3)
Socket context options - Socket context option listing
Socket context options are available for all wrappers that work over sockets, like tcp, http and ftp.
o $bindto
- Used to specify the IP address (either IPv4 or IPv6) and/or the port number that PHP will use to access the network. The syntax
is ip:port for IPv4 addresses, and [ip]:port for IPv6 addresses. Setting the IP or the port to 0 will let the system choose the IP
and/or port.
Note
As FTP creates two socket connections during normal operation, the port number cannot be specified using this option.
o $backlog
- Used to limit the number of outstanding connections in the socket's listen queue.
Note
This is only applicable to stream_socket_server(3).
+--------+-----------------+
|Version | |
| | |
| | Description |
| | |
+--------+-----------------+
| 5.3.3 | |
| | |
| | Added backlog. |
| | |
| 5.1.0 | |
| | |
| | Added bindto. |
| | |
+--------+-----------------+
Example #1
Basic $bindto usage example
<?php
// connect to the internet using the '192.168.0.100' IP
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:0',
),
);
// connect to the internet using the '192.168.0.100' IP and port '7000'
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:7000',
),
);
// connect to the internet using the '2001:db8::1' IPv6 address
// and port '7000'
$opts = array(
'socket' => array(
'bindto' => '[2001:db8::1]:7000',
),
);
// connect to the internet using port '7000'
$opts = array(
'socket' => array(
'bindto' => '0:7000',
),
);
// create the context...
$context = stream_context_create($opts);
// ...and use it to fetch the data
echo file_get_contents('http://www.example.com', false, $context);
?>
PHP Documentation Group SOCKET-CONTEXT-OPTIONS(3)