01-28-2007
Quote:
same ip address as in windows?
of course, you can
is it usb or ethernet modem?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI..
i was wondering if someone out there can help me setup my internet connection.... i have no clue how to set it up.. could you please tell me step by step how to set it up.. i have a static ip, im using a cable modem to connect. my os is solaris 8. Please email me at lil_souldier@hotmail.com... (2 Replies)
Discussion started by: souldier
2 Replies
2. UNIX for Advanced & Expert Users
HI unix guru..
i need your help again.. i tring to setup my sun box for internet connection, i am using @home cable service i have 8 pc running different operating systems. every other computer can go online but this sun box for some reason alway give me and error,
i enter my
ip address... (1 Reply)
Discussion started by: souldier
1 Replies
3. Solaris
I have a sun wokstation running solaris 9 , I want to configuring my lan card to access internet .
my IP address : 192.168.144.20
ISP gateway : 192.168.144.1
DNS address : 202.56.250.5
all helps will be appreciated
thanks (2 Replies)
Discussion started by: una
2 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone, I just installed Solaris 10 in my PC. However, once I finished installing it, I lost my internet connection. When I switch to windows, the internet can run smoothly. Does anyone know how to set up internet connection in Solaris ? I am so sorry, I am new in UNIX (7 Replies)
Discussion started by: qqq
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
1)If someone could help me out that how could i connect to internet.
Below is the system specification, and i have dial up connection.
Sun UltraSPARC-IIi 270MHz processor
256 MB memory
8.4 GB HDD
100/10BaseT Ethernet
CD-ROM drive
3.5" Floppy drive
2)Also, how to connect Sun to... (0 Replies)
Discussion started by: younics
0 Replies
6. UNIX for Dummies Questions & Answers
Hi all :)
I got a problem that I need to solve here, its kinda confusing me.
I got servers which is RHEL that its not supposed to connect to internet, but right now I want this server to connect to internet, so firewall and everything already open. but I have no idea why it still unable to... (2 Replies)
Discussion started by: flekzout
2 Replies
7. BSD
Hi friends! :)
I have got an Acer laptop. in one of the partion's I have got PC BSD installed. I am new UNIX user coz first I was using Windows, so I am still learning it. I only know few commands, and I find it very interesting.
Unfrtunately, when I log into PC BSD, I can't connect to the... (3 Replies)
Discussion started by: dubbio123
3 Replies
8. UNIX for Dummies Questions & Answers
I am using SUSE OS and want to check internet connection...
I have tried:
ping -c3 google.com
The output i have got is:
Unknown host google.com
does it means that i do not have Internet connection??
Or please help me with any Command to find Internet connection?
Thanks for any help. (1 Reply)
Discussion started by: salil2012
1 Replies
9. Solaris
I got solaris 10 works, but I cannot set up my internet connection. When I ping a website and i open the web browser, it doesn't work.
When the installation asked 'Am I in a network?' i answerd 'no'. I think this is my minstake. How can i get Internet, now?
I have a ADSL modem (not router).... (5 Replies)
Discussion started by: mghis
5 Replies
10. IP Networking
Hello all,
Recently took a dive into Unix using Fedora 12 atm. I have cable modem with DHCP and a linksys 8 port router. With windows I was able to simple use the uplink port and plug each computer into the switch and use the internet connection. Having no luck doing the same in Unix. I have... (0 Replies)
Discussion started by: Fingerz
0 Replies
LEARN ABOUT PHP
snmp_set_oid_output_format
SNMP_SET_OID_OUTPUT_FORMAT(3) 1 SNMP_SET_OID_OUTPUT_FORMAT(3)
snmp_set_oid_output_format - Set the OID output format
SYNOPSIS
bool snmp_set_oid_output_format (int $oid_format = SNMP_OID_OUTPUT_MODULE)
DESCRIPTION
snmp_set_oid_output_format(3) sets the output format to be full or numeric.
PARAMETERS
o $oid_format
-
OID .1.3.6.1.2.1.1.3.0 representation for various $oid_format values
+------------------------+---+
| | |
| SNMP_OID_OUTPUT_FULL | |
| | |
| | |
| | |
|SNMP_OID_OUTPUT_NUMERIC | |
| | |
| | |
+------------------------+---+
Begining from PHP 5.4.0 four additional constants available:
+-----------------------+-------------------------------------+
| | |
|SNMP_OID_OUTPUT_MODULE | |
| | |
| | DISMAN-EVENT-MIB::sysUpTimeInstance |
| | |
| | |
|SNMP_OID_OUTPUT_SUFFIX | |
| | |
| | sysUpTimeInstance |
| | |
| | |
| SNMP_OID_OUTPUT_UCD | |
| | |
| | system.sysUpTime.sysUpTimeInstance |
| | |
| | |
| SNMP_OID_OUTPUT_NONE | |
| | |
| | Undefined |
| | |
+-----------------------+-------------------------------------+
RETURN VALUES
No value is returned.
NOTES
Note
snmp_set_oid_output_format(3) is only available when using the UCD SNMP library. This function is not available when using the Win-
dows SNMP library.
EXAMPLES
Example #1
Using snmprealwalk(3)
<?php
snmp_read_mib("/usr/share/mibs/netsnmp/NET-SNMP-TC");
// default or SNMP_OID_OUTPUT_MODULE in PHP >= 5.3.6
print_r( snmprealwalk('localhost', 'public', 'RFC1213-MIB::sysObjectID') );
snmp_set_oid_output_format(SNMP_OID_OUTPUT_NUMERIC);
print_r( snmprealwalk('localhost', 'public', 'RFC1213-MIB::sysObjectID') );
snmp_set_oid_output_format(SNMP_OID_OUTPUT_FULL);
print_r( snmprealwalk('localhost', 'public', 'RFC1213-MIB::sysObjectID') );
?>
The above would output:
Array
(
[RFC1213-MIB::sysObjectID.0] => OID: NET-SNMP-TC::linux
)
Array
(
[.1.3.6.1.2.1.1.2.0] => OID: .1.3.6.1.4.1.8072.3.2.10
)
Array
(
[.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0] => OID: .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpEnumerations.netSnmpAgentOIDs.linux
)
PHP Documentation Group SNMP_SET_OID_OUTPUT_FORMAT(3)