HOSTS FILE - PERMITTED USABLE STRINGS IN CONTENTS
Hello ALL,
I am curious about something in HOSTS files.
Typically the contents allowed in a host file are:
#comments
IP Address Hostname
Now these would be anything from the following:
10.0.0.1 www.mywebsite.com
10.0.0.2 mywebsite
Now, is this next one acceptable?
10.0.0.1 http://mywebsite
Would this pass as valid in a HOSTS file configuration?
You've only got ONE LIFE; HELP as many people as you can, and ENJOY IT while it lasts. People are in the centre of our happiness, even God understands that.
Hi James,
Based on my research , there should be a NetBIOS name or Domain name or FQDN .
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Similar Messages
-
How to store content of file in a string
Hi All :) ,
i wanted to store all the content of a file say HTML file in a String ,please tell me how should i do that so that all the content from <HTML> to </HTML> copied to the string ..thanks :)ashish.escape wrote:
Is this a right way ?It's not a good way, but I think that it will almost work. To make it work, try using a BufferedReader instead of a DataInputStream (which is deprecated for reading lines), like this:
BufferedReader reader = new BufferedReader( new InputStreamReader( fis ) );
while( (thisLine = reader.readLine() ) != null )
...Don't forget to close the reader after you're done.
There are quite a few things "not good" about this code:
* The exception handling is horrid - you may very well be hiding the real problem - try getting rid of the try/catch and simply declare your main method as 'public static void main(String[] args) throws Exception' - that will exit the application and print the full exception and stack trace to the console. I would make this change and run the application again before doing anything else.
* Use a StringBuffer to append to, concatenating Strings is very slow.
* It's not apparent why you even need to read a line at a time - it looks like you could just read the file into a buffer and append that to the StringBuffer without needing to worry about parsing it a line at a time, unless there is some processing that you're doing on each line that is not shown in this code snippet.
As the first responder said, you should really read the IO tutorial here:
http://java.sun.com/docs/books/tutorial/essential/io/ -
How do i read a text file and then display the content as a string
I also would like to strip the string from a certain substring and convert the remaining string into an array of floating point numbers. I was thinking of using the read from spreadsheet vi but I'm not exactly sure if that is going to work. Any help would be greatly appreciated.
Solved!
Go to Solution.Here is what I have so far. What I am trying to do is to display the text file as a string and then strip the "curve" from the text file. I think I did this successfully. Now I want to convert the remaining string into an array of floating point numbers, and display the numbers into an array and on a waveform graph.
Attachments:
hw3datafile.txt 1 KB
Q4.vi 7 KB -
How to tail log files from particular string
Hello,
We would like to tail several log files "live" in powershell for particular string. We have tried to use "get-content" command but without luck because everytime as a result we received only results from one file. I assume that it was
caused by "-wait" parameter. If there is any other way to tail multiple files ?
Our sample script below
dir d:\test\*.txt -include *.txt | Get-Content -Wait | select-string "windows" |ForEach-Object {Write-EventLog -LogName Application -Source "Application error" -EntryType information -EventId 999 -Message $_}
Any help will be appreciated.
MacBecause we want to capture particular string from that files. Application writes some string time to time and when the string appears we want to catch it and send an eventy to application log, after it our Nagios system will raise alarm.
Mac
Alright, this is my answer, but I think you won't like it.
Run this PowerShell code in PowerShell ISE:
$file1='C:\Temp\TFile1.txt'
'' > $file1
$file2='C:\Temp\TFile2.txt'
'' > $file2
$special='windowswodniw'
$exit='exit'
$sb1={
gc $using:file1 -Wait | %{
if($_-eq$using:exit){
exit
}else{
sls $using:special -InputObject $_ -SimpleMatch
} | %{
Write-Host '(1) found special string: ' $_
$sb2={
gc $using:file2 -Wait | %{
if($_-eq$using:exit){
exit
}else{
sls $using:special -InputObject $_ -SimpleMatch
} | %{
Write-Host '(2) found special string: ' $_
sajb $sb1
sajb $sb2
In this code, $file1 and 2 are the files being waited for.
As I understood you, you care only for the special string, which is in the variable $special.
All other variables, will be discarded.
Also, whenever a string equals to $exit is written to the file, the start job corresponding to that file will be terminated, automatically! (simple, right?)
In the example above, I use only 2 files (being watched) but you can extend it, easily, to any number (as long as you understand the code).
If you are following my instructions, at this point you have PowerShell ISE running, with 2 background jobs,
waiting for data being inputed to $file1 and 2.
Now, it's time to send data to $file1 and 2.
Start PowerShell Console to send data to those files.
From its command line, execute these commands:
$file1 = 'C:\Temp\TFile1.txt'
$file2='C:\Temp\TFile2.txt'
$exit='exit'
Notice that $file1 and 2 are exactly the same as those defined in P
OWERSHELL ISE, and that I've defined the string that will terminate the background jobs.
Command these commands in PowerShell Console:
'more' >> $file1
'less' >> $file1
'more' >> $file2
'less' >> $file2
These commands will provoke no consequences, because these strings will be discarded (they do not contain the special string).
Now, command these commands in PowerShell Console:
'windowswodniw' >> $file1
'1 windowswodniw 2' >> $file1
'more windowswodniw less' >> $file1
'windowswodniw' >> $file2
'1 windowswodniw 2' >> $file2
'more windowswodniw less' >> $file2
All these will be caugth by the (my) code, because they contain the special
string.
Now, let's finish the background jobs with these commands:
$exit >> $file1
$exit >> $file2
The test I'm explaining, now is DONE, TERMINATED, FINISHED, COMPLETED, ...
Time to get back to PowerShell ISE.
You'll notice that it printed out this (right at the beginning):
Id Name PSJobTypeName State HasMoreData Location Command
1 Job1 BackgroundJob Running True localhost ...
2 Job2 BackgroundJob Running True localhost ...
At PowerShell ISE's console, type this:
gjb
And you'll see the ouput like:
Id Name PSJobTypeName State HasMoreData Location Command
1 Job1 BackgroundJob Completed True localhost ...
2 Job2 BackgroundJob Completed True localhost ...
( They are completed! )
Which means the background jobs are completed.
See the background jobs' outputs, commanding this:
gjb | rcjb
The output, will be something like this:
(1) found special string: windowswodniw
(1) found special string: 1 windowswodniw 2
(1) found special string: more windowswodniw less
(2) found special string: windowswodniw
(2) found special string: 1 windowswodniw 2
(2) found special string: more windowswodniw less
I hope you are able to understand all this (the rubbishell coders, surely, are not).
In my examples, the strings caught are written to host's console, but you can change it to do anything you want.
P.S.: I'm using PowerShell, but I'm pretty sure you can use older PowerShell ( version 3 ). Anything less, is not PowerShell anymore. We can call it RubbiShell. -
EtreCheck says /etc/hosts file is Corrupted
EtreCheck says the Cofiguration files: /etc/host - Corrupted. Here is the EtreCheck Report and my actual hosts file from Terminal below:
How do I fix this? Thanks
EtreCheck version: 2.0.1 (82)
Report generated October 10, 2014 at 7:52:19 PM PDT
Hardware Information: ℹ️
iMac (27-inch, Late 2013) (Verified)
iMac - model: iMac14,2
1 3.2 GHz Intel Core i5 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
BANK 0/DIMM1
empty empty empty empty
BANK 1/DIMM1
empty empty empty empty
Bluetooth: Good - Handoff supported
Wireless: en1: 802.11 a/b/g/n/ac
Video Information: ℹ️
NVIDIA GeForce GT 755M - VRAM: 1024 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 0 days 5:59:33
Disk Information: ℹ️
APPLE SSD SM0256F disk0 : (251 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
iMac SSD (disk0s2) / [Startup]: 250.14 GB (202.02 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Wacom Co.,Ltd. CTT-460
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Configuration files: ℹ️
/etc/hosts - Corrupt!
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/DiskWarrior.app
[not loaded] com.alsoft.Preview (4.4) Support
/Applications/VMware Fusion.app
[not loaded] com.vmware.kext.vmci (90.5.7) Support
[not loaded] com.vmware.kext.vmioplug.12.1.17 (12.1.17) Support
[not loaded] com.vmware.kext.vmnet (0188.79.83) Support
[not loaded] com.vmware.kext.vmx86 (0188.79.83) Support
[not loaded] com.vmware.kext.vsockets (90.5.7) Support
/System/Library/Extensions
[not loaded] com.wacom.kext.pentablet (5.2.6) Support
Launch Agents: ℹ️
[running] com.wacom.pentablet.plist Support
User Login Items: ℹ️
None
Internet Plug-ins: ℹ️
WacomNetscape: Version: 1.1.1-1 Support
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support
QuickTime Plugin: Version: 7.7.3
WacomTabletPlugin: Version: WacomTabletPlugin 2.0.0.4 Support
Default Browser: Version: 537 - SDK 10.9
Safari Extensions: ℹ️
Ghostery (Disabled)
FastestTube
YouTube5
NoMoreiTunes
3rd Party Preference Panes: ℹ️
PenTablet Support
Flip4Mac WMV Support
Perian Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
4% WindowServer
1% fontd
0% System Events
0% fseventsd
0% imagent
Top Processes by Memory: ℹ️
387 MB com.apple.IconServicesAgent
172 MB WindowServer
120 MB mds_stores
94 MB Grab
94 MB Finder
Virtual Memory Information: ℹ️
5.29 GB Free RAM
1.89 GB Active RAM
632 MB Inactive RAM
774 MB Wired RAM
676 MB Page-ins
0 B Page-outs
and here is my actual hosts file from Terminal:
Joses-iMac:~ josemontanez$ cat /etc/hosts
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
m
Joses-iMac:~ josemontanezI have 95 corrupt configuration files in /etc/hosts. Here is my EtreCheck report and my Terminal report follows.
Hardware Information: ℹ️
iMac (24-inch Mid 2007) (Verified)
iMac - model: iMac7,1
1 2.8 GHz Intel Core 2 Duo CPU: 2-core
2 GB RAM Upgradeable
BANK 0/DIMM0
1 GB DDR2 SDRAM 667 MHz ok
BANK 1/DIMM1
1 GB DDR2 SDRAM 667 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
ATI,RadeonHD2600 - VRAM: 256 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:4:31
Disk Information: ℹ️
ST3500630AS Q disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 499.25 GB (310.40 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. Built-in iSight
LaCie Porsche Mobile for Mac 2 TB
EFI (disk1s1) <not mounted> : 210 MB
LaCie (disk1s2) /Volumes/LaCie : 2.00 TB (1.70 TB free)
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Configuration files: ℹ️
/etc/hosts - Count: 99 - Corrupt!
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.digidesign.fwfamily.driver (7.4f1) [Click for support]
[not loaded] com.digidesign.iokit.DigiDal (7.4f1) [Click for support]
[not loaded] com.digidesign.iokit.DigiIO (7.4f1) [Click for support]
[not loaded] com.digidesign.mbox2.boot.driver (7.4f1) [Click for support]
[not loaded] com.digidesign.mbox2.driver (7.4f1) [Click for support]
[not loaded] com.paceap.kext.pacesupport.master (5.5) [Click for support]
/System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
[not loaded] com.paceap.kext.pacesupport.leopard (5.5) [Click for support]
[not loaded] com.paceap.kext.pacesupport.panther (5.5) [Click for support]
[not loaded] com.paceap.kext.pacesupport.tiger (5.5) [Click for support]
Startup Items: ℹ️
Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
MySQLCOM: Path: /Library/StartupItems/MySQLCOM
PACESupport: Path: /Library/StartupItems/PACESupport
Qmaster: Path: /Library/StartupItems/Qmaster
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.divx.dms.agent.plist [Click for support]
[loaded] com.divx.update.agent.plist [Click for support]
[loaded] com.oracle.java.Java-Updater.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[loaded] com.adobe.versioncueCS3.plist [Click for support]
[running] com.digidesign.fwfamily.helper.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[loaded] com.oracle.java.Helper-Tool.plist [Click for support]
[failed] PACESupport.plist [Click for support]
User Launch Agents: ℹ️
[running] com.google.Chrome.framework.plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[loaded] com.spotify.webhelper.plist [Click for support]
User Login Items: ℹ️
iAntiVirus UNKNOWN Hidden (missing value)
Caffeine Application (/Applications/Caffeine.app)
Dropbox Application (/Applications/Dropbox.app)
X1100 Series Button Monitor Application Hidden (/Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app)
EEventManager Application (/Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app)
Internet Plug-ins: ℹ️
DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
nplastpass: Version: 2.5.5 [Click for support]
OVSHelper: Version: 1.1 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Google Earth Web Plug-in: Version: 6.0 [Click for support]
RealPlayer Plugin: Version: Unknown
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
Silverlight: Version: 4.0.50401.0 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 [Click for support]
JavaAppletPlugin: Version: Java 7 Update 55 Check version
User internet Plug-ins: ℹ️
BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
Safari Extensions: ℹ️
LastPass
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3
Digidesign CoreAudio: Version: 7.4 [Click for support]
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS3 [Click for support]
BrowserPlus [Click for support]
Flash Player [Click for support]
Growl [Click for support]
Java [Click for support]
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 499.25 GB Disk used: 188.85 GB
Destinations:
LaCie [Local]
Total size: 2.00 TB
Total number of backups: 24
Oldest backup: 2015-01-25 07:12:35 +0000
Last backup: 2015-03-07 17:57:35 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 499.25 GB X 3)
Top Processes by CPU: ℹ️
5% Activity Monitor
5% recentsd
3% CalendarAgent
3% WindowServer
1% sysmond
Top Processes by Memory: ℹ️
268 MB mds_stores
75 MB Dropbox
69 MB ocspd
54 MB Dock
52 MB Activity Monitor
Virtual Memory Information: ℹ️
162 MB Free RAM
889 MB Active RAM
766 MB Inactive RAM
329 MB Wired RAM
1.03 GB Page-ins
29 KB Page-outs
Diagnostics Information: ℹ️
Mar 7, 2015, 10:23:52 AM Self test - passed
Mar 6, 2015, 10:50:33 PM /Library/Logs/DiagnosticReports/Spotify_2015-03-06-225033_[redacted].hang
Mar 6, 2015, 10:22:01 PM /Users/[redacted]/Library/Logs/DiagnosticReports/Dock_2015-03-06-222201_[redact ed].crash
Mar 6, 2015, 08:34:05 PM /Library/Logs/DiagnosticReports/Safari_2015-03-06-203405_[redacted].hang
TERMINAL REPORT:
Start time: 12:09:52 03/07/15
Model Identifier: iMac7,1
Memory: 2 GB
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 1:46
Memory
BANK 0/DIMM0:
Size: 1 GB
Speed: 667 MHz
Status: OK
Manufacturer: 0xAD00000000000000
BANK 1/DIMM1:
Size: 1 GB
Speed: 667 MHz
Status: OK
Manufacturer: 0xAD00000000000000
SATA
ST3500630AS Q
USB
Porsche Mobile for Mac (LaCie)
Diagnostic reports
2015-02-06 coreduetd crash
2015-02-06 iTunes crash
2015-02-12 AddressBookSourceSync crash
2015-02-17 coreduetd crash
2015-02-17 iTunes crash
2015-03-06 Dock crash
2015-03-06 Safari hang
2015-03-06 Spotify hang
Log
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:47 proc 307: load code signature error 4 for file "garcon"
Mar 7 10:26:24 BUG in process suhelperd[176]: over-released legacy external boost assertions (0 total, 0 external, 0 legacy-external)
Daemons
com.paceap.pacesupport
com.adobe.versioncueCS3
com.microsoft.office.licensing.helper
com.oracle.java.Helper-Tool
com.adobe.SwitchBoard
com.adobe.fpsaud
com.digidesign.fwfamily.helper
Agents
com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
com.oracle.java.Java-Updater
com.spotify.webhelper
com.google.keystone.user.agent
com.divx.update.agent
com.divx.dms.agent
launchd
/System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist
- com.apple.installer.osmessagetracing
/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
- com.adobe.AAM.Startup-1.0
/Library/LaunchAgents/com.divx.dms.agent.plist
- com.divx.dms.agent
/Library/LaunchAgents/com.divx.update.agent.plist
- com.divx.update.agent
/Library/LaunchAgents/com.oracle.java.Java-Updater.plist
- com.oracle.java.Java-Updater
/Library/LaunchDaemons/com.adobe.fpsaud.plist
- com.adobe.fpsaud
/Library/LaunchDaemons/com.adobe.SwitchBoard.plist
- com.adobe.SwitchBoard
/Library/LaunchDaemons/com.adobe.versioncueCS3.plist
- com.adobe.versioncueCS3
/Library/LaunchDaemons/com.digidesign.fwfamily.helper.plist
- com.digidesign.fwfamily.helper
/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
- com.microsoft.office.licensing.helper
/Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
- com.oracle.java.Helper-Tool
/Library/LaunchDaemons/PACESupport.plist
- com.paceap.pacesupport
Library/LaunchAgents/com.google.Chrome.framework.plist
- com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
Library/LaunchAgents/com.google.keystone.agent.plist
- com.google.keystone.user.agent
Library/LaunchAgents/com.spotify.webhelper.plist
- com.spotify.webhelper
Startup items
/Library/StartupItems/Digidesign Mbox 2/CheckKextForOs
/Library/StartupItems/Digidesign Mbox 2/Digidesign Mbox 2
/Library/StartupItems/Digidesign Mbox 2/getCurrentUser
/Library/StartupItems/Digidesign Mbox 2/isJaguar
/Library/StartupItems/Digidesign Mbox 2/Mbox2CS
/Library/StartupItems/Digidesign Mbox 2/StartupParameters.plist
/Library/StartupItems/DigidesignLoader/DigidesignLoader
/Library/StartupItems/DigidesignLoader/StartupParameters.plist
/Library/StartupItems/MySQLCOM/MySQLCOM
/Library/StartupItems/MySQLCOM/StartupParameters.plist
/Library/StartupItems/PACESupport/PACESupport
/Library/StartupItems/PACESupport/Resources/PACESupport.plist
/Library/StartupItems/PACESupport/StartupParameters.plist
/Library/StartupItems/Qmaster/Qmaster
/Library/StartupItems/Qmaster/StartupParameters.plist
Bundles
/System/Library/Extensions/DigiDal.kext
- com.digidesign.iokit.DigiDal
/System/Library/Extensions/DigidesignFireWireAudio.kext
- com.digidesign.fwfamily.driver
/System/Library/Extensions/DigidesignMbox2.kext
- com.digidesign.mbox2.driver
/System/Library/Extensions/DigidesignMbox2Boot.kext
- com.digidesign.mbox2.boot.driver
/System/Library/Extensions/DigiIO.kext
- com.digidesign.iokit.DigiIO
/System/Library/Extensions/JMicronATA.kext
- com.jmicron.JMicronATA
/System/Library/Extensions/PACESupportFamily.kext
- com.paceap.kext.pacesupport.master
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin
- com.digidesign.digidesign.DigiCoreAudioPlugIn
/Library/Internet Plug-Ins/AdobePDFViewer.plugin
- com.adobe.acrobat.pdfviewer
/Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
- com.adobe.acrobat.pdfviewerNPAPI
/Library/Internet Plug-Ins/DirectorShockwave.plugin
- com.adobe.director.shockwave.pluginshim
/Library/Internet Plug-Ins/DivX Web Player.plugin
- com.divx.DivXWebPlayer
/Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
- com.Google.GoogleEarthPlugin.plugin
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
- com.oracle.java.JavaAppletPlugin
/Library/Internet Plug-Ins/nplastpass.plugin
- com.lastpass.nplastpass
/Library/Internet Plug-Ins/OVSHelper.plugin
- com.divx.OVSHelper
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
- com.microsoft.sharepoint.browserplugin
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
- com.microsoft.sharepoint.webkitplugin
/Library/Internet Plug-Ins/Silverlight.plugin
- com.microsoft.SilverlightPlugin
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/JavaControlPanel.prefPane
- com.oracle.java.JavaControlPanel
/Library/PreferencePanes/VersionCueCS3.prefPane
- com.adobe.versioncueCS3.VCPrefPane
/Library/QuickTime/FLV.component
- com.macromedia.FLVExporter
/Library/QuickTime/FLV.component/Contents/Resources
- com.macromedia.FLVExporter
/Library/ScriptingAdditions/Adobe Unit Types.osax
- N/A
Library/Address Book Plug-Ins/SkypeABDialer.bundle
- com.skype.skypeabdialer
Library/Address Book Plug-Ins/SkypeABSMS.bundle
- com.skype.skypeabsms
Library/Caches/com.apple.Safari/Extensions/LastPass.safariextension
- com.lastpass.lpsafariextension
Library/Internet Plug-Ins/BrowserPlus_2.9.8.plugin
- com.yahoo.browserplus
Library/iTunes/iTunes Plug-ins/AudioScrobbler.bundle
- N/A
Library/PreferencePanes/BrowserPlusPrefs.prefPane
- com.yahoo.browserplus.prefpane
Library/PreferencePanes/Growl.prefPane
- com.growl.prefpanel
Library/Widgets/Tumblet.wdgt
- com.tumblr.tumblet
Apps
/Applications/Dropbox.app
Contents of /etc/hosts
127.0.0.1 192.150.14.69
127.0.0.1 192.150.18.101
127.0.0.1 192.150.18.108
127.0.0.1 192.150.22.40
127.0.0.1 192.150.8.100
127.0.0.1 192.150.8.118
127.0.0.1 209-34-83-73.ood.opsource.net
127.0.0.1 3dns-1.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-4.adobe.com
127.0.0.1 3dns.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 activate-sjc0.adobe.com
127.0.0.1 activate.adobe.com
127.0.0.1 activate.wip.adobe.com
127.0.0.1 activate.wip1.adobe.com
127.0.0.1 activate.wip2.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 activate.wip4.adobe.com
127.0.0.1 adobe-dns-1.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
...and 79 more line(s)
Contents of /System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.installer.osmessagetracing</string>
<key>LaunchOnlyOnce</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/System/Library/PrivateFrameworks/OSInstaller.framework/Resources/OSMes sageTracer</string>
</array>
<key>UserName</key>
<string>root</string>
<key>GroupName</key>
<string>wheel</string>
<key>WatchPaths</key>
<array>
<string>/var/db/.AppleDiagnosticsSetupDone</string>
</array>
</dict>
</plist>
Global login items
/Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
/Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
Font issues: 15
Listeners
launchd: printer
launchd: printer
cupsd: ipp
User login items
iAntiVirus
- missing value
Caffeine
- /Applications/Caffeine.app
Dropbox
- /Applications/Dropbox.app
X1100 Series Button Monitor
- /Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
EEventManager
- /Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
Safari extensions
LastPass
Restricted files: 10398
Elapsed time (s): 496 -
Reading & writing to file using ArrayList String incorrectly (2)
I have been able to store two strings (M44110|T33010, M92603|T10350) using ArrayList<String>, which represent the result of some patient tests. Nevertheless, the order of these results have been stored correctly.
E.g. currently stored in file Snomed-Codes as -
[M44110|T33010, M92603|T10350][M44110|T33010, M92603|T10350]
Should be stored and printed out as -
M44110|T33010
M92603|T10350
Below is the detail of the source code of this program:
import java.io.*;
import java.io.IOException;
import java.lang.String;
import java.util.regex.*;
import java.util.ArrayList;
public class FindSnomedCode {
static ArrayList<String> allRecords = new ArrayList<String>();
static public ArrayList<String> getContents(File existingFile) {
StringBuffer contents = new StringBuffer();
BufferedReader input = null;
int line_number = 0;
int number_of_records = 0;
String snomedCodes = null;
ArrayList<String> complete_records = new ArrayList<String>();
try {
input = new BufferedReader( new FileReader(existingFile) );
String current_line = null;
while (( current_line = input.readLine()) != null) {
// Create a pattern to match for the "\"
Pattern p = Pattern.compile("\\\\");
// Create a matcher with an input string
Matcher m = p.matcher(current_line);
boolean beginning_of_record = m.find();
if (beginning_of_record) {
line_number = 0;
number_of_records++;
} else {
line_number++;
if ( (line_number == 2) && (current_line.length() != 0) ) {
snomedCodes = current_line;
System.out.println(snomedCodes);
complete_records.add(current_line);
catch (FileNotFoundException ex) {
ex.printStackTrace();
catch (IOException ex){
ex.printStackTrace();
finally {
try {
if (input!= null) {
input.close();
catch (IOException ex) {
ex.printStackTrace();
return complete_records;
static public void setContents(File reformatFile, ArrayList<String> snomedCodes)
throws FileNotFoundException, IOException {
Writer output = null;
try {
output = new BufferedWriter( new FileWriter(reformatFile) );
for (String index : snomedCodes) {
output.write( snomedCodes.toString() );
finally {
if (output != null) output.close();
static public void printContents(File existingFile) {
StringBuffer contents = new StringBuffer();
BufferedReader input = null;
int line_number = 0;
int number_of_records = 0;
String snomedCodes = null;
try {
input = new BufferedReader( new FileReader(existingFile) );
String current_line = null;
while (( current_line = input.readLine()) != null)
System.out.println(current_line);
catch (FileNotFoundException ex) {
ex.printStackTrace();
catch (IOException ex){
ex.printStackTrace();
finally {
try {
if (input!= null) {
input.close();
catch (IOException ex) {
ex.printStackTrace();
public static void main (String args[]) throws IOException {
File currentFile = new File("D:\\dummy_patient.txt");
allRecords = getContents(currentFile);
File snomedFile = new File( "D:\\Snomed-Codes.txt");
setContents(snomedFile, allRecords);
printContents(snomedFile);
}There are 4 patient records in the dummy_patient.txt file but only the 1st (M44110|T33010) & 3rd (M92603|T10350) records have results in them. The 2nd & 4th records have blank results.
Lastly, could someone explain to me the difference between java.util.List & java.util.ArrayList?
I am running Netbeans 5.0, jdk1.5.0_09 on Windows XP, SP2.
Many thanks,
Netbeans Fan.while (snomedCodes.iterator().hasNext())
output.write( snomedCodes.toString() );
}Here you have some kind of a list or something (I couldn't stand to read all that unformatted code but I suppose you can find out). It has an iterator which gives you the entries of the list one at a time. You keep asking if it has more entries -- which it does -- but you never get those entries by calling the next() method, so it always has all the entries still available.
And your code inside the loop is independent of the iterator, so it's rather pointless to iterate over the entries and output exactly the same data for each entry. Even if you were iterating correctly. -
Internet Explorer ONLY passes parameters to Adobe Reader plugin for hosted files, not local
WORKS:
<embed src="http://host.com/test.pdf#page=5"/>
FAILS:
<embed src="test.pdf#page=5"/>
Both code snippets above work when the HTML file is hosted (IIS / Apache). My web-app needs to be able to run from a USB memory stick and work with IE9. The #page param is required for a core feature of the app.
Parameters after the # are passed correctly to the Adobe Reader plugin in Firefox for offline files, eg: file:///C:/test.htm. The documentation only describes hosted examples: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
I have tried the <object> route as well with similar results, eg: http://pdfobject.com/
I have burned over 8 hours looking for a solution. I have tried any logical settings in Adobe Reader X, and with the security zones in IE. I am not very familiar with IE security zones, but I suspect it could be related to my issue. I can specify the end-user change any browser or plugin settings as an acceptable solution.I am developing a hybrid web-application that needs to work both offline (entire website) and in a hosted environment. A key part of the product is displaying PDF's with a dynamic index outside of the PDF. This allows us to use PDF's collected from hundreds of contractors, clients and manufacturers and combine them into one searchable product with a consistent interface. I can specify product requirements including IE browser settings, installed plug-ins etc. I am not trying to cater to a wide audience such as everyone online, but a specific one that is spending $5k-30k for a custom resource.
I expect the limiation is due to a wide cast net regarding security. I tried every setting in IE and essentially fully disabling all security options did not resolve it.
I found a solution, by accessing the ActiveX object directly you can use the exposed classes described here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/w whelp.htm?context=Acrobat9_HTMLHelp&file=IAC_API_OLE_Objects.103.167.html
Javascript:
var pdfO = document.getElementById('pdfObj');
pdfO.setCurrentPage(pageNumber);
HTML:
<OBJECT id ="pdfObj" data="test.pdf" TYPE="application/pdf">
<a href="test.pdf">Fall-back code</a>
</OBJECT>
This actually works much faster as well, since the plugin doesn't need to be re-drawn in the DOM -
[SOLVED]Is my hosts file functioning as it should?
I'm using this script to update my hosts file with ad blocking settings.
#!/bin/bash
# Hosts file updater
HFSERVER="http://hostsfile.mine.nu.nyud.net"
HFILE="hosts.zip"
ORIGFILE="/etc/hosts.original"
clear
echo "-------------------------------------------------------------"
echo "This script will update your Hosts file to the latest version"
echo "Your original Hosts file will be renamed to $ORIGFILE"
echo "-------------------------------------------------------------"
echo ""
if [ ! -f "$ORIGFILE" ] ; then
echo "Backing up your previous hosts file.."
cp -v /etc/hosts $ORIGFILE # I like verbose file operations. Can be less verbose if necessary.
fi
echo "Retrieving $HFILE from $HFSERVER"
echo ""
wget -O /tmp/$HFILE $HFSERVER/$HFILE
unzip -p /tmp/$HFILE | dos2unix > /tmp/hosts
if [ 'grep -c "banner" /tmp/hosts' ];then
echo "Downloaded and unpacked $HFILE OK"
echo "Appending host list to original content" # which was probably there for a reason, like to make sure localhost worked, and possibly even more stuff if part of a corporate LAN
#cp -f -u /tmp/hosts /etc/hosts
cat $ORIGFILE >/etc/hosts
echo "" >>/etc/hosts # to make sure the original file ends in a new-line so that 2 entries don't end up on the same line, either causing unexpected behavior or not working at all
cat /tmp/hosts >>/etc/hosts
rm -fv /tmp/hosts* # again, I like verbose file operations. I like to know what my system is doing.
echo "Update process complete"
#echo "-------------------------------------------------------------"
echo "As a side-effect of this script, any changes you wish to make"
echo "persistent in the hosts file should be made to $ORIGFILE"
echo "because /etc/hosts will be respawned from that file and the "
echo "newlist from the server each time this script runs."
exit
else
echo "Update failed"
fi
http://hostsfile.mine.nu/downloads/updatehosts.sh.txt
And my hosts file now looks like this:
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost pote
# The Hosts File Project http://hostsfile.mine.nu
# Global Advert Servers Blocklist - Personal Edition
# Release 13/09/2008
# Servers Verified as up and running 13/09/2008 (by dns exploration)
# Updated sorted and maintained by Andrew Short (sh0rtie)
# Contact: [email protected]
# A big thank you to all contributers (too many to mention)
# who really have made this project a success, well done :)
# Licensed under the LGPL a copy of the license may be viewed at
# http://www.gnu.org/licenses/lgpl.txt
# WARNING:
# This file is *extremely comprehensive* and some sites might be
# included here that you wish to visit, if this is the case you can
# deactivate the block on that site by placing a # (octothorpe)symbol
# before its entry, this will deactivate blocking on that server
# so for example #127.0.0.1 foobar.com
# will enable you to visit foobar.com or you can just simply delete
# the line that contains the site you wish to visit.
# NB:
# For some computer software updates you may need to disable
# this file in order to perform the update, if you have problems
# rename this file from "hosts" to "hosts.txt" reboot then perform
# the update and then rename this file back to "hosts" to re-enable it
# You must keep the below lines
127.0.0.1 localhost
127.0.0.1 pop3.norton.antivirus
127.0.0.1 pop3.spa.norton.antivirus
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost pote
# End of file
# The Hosts File Project http://hostsfile.mine.nu
# Global Advert Servers Blocklist - Personal Edition
# Release 13/09/2008
# Servers Verified as up and running 13/09/2008 (by dns exploration)
# Updated sorted and maintained by Andrew Short (sh0rtie)
# Contact: [email protected]
# A big thank you to all contributers (too many to mention)
# who really have made this project a success, well done :)
# Licensed under the LGPL a copy of the license may be viewed at
# http://www.gnu.org/licenses/lgpl.txt
# WARNING:
# This file is *extremely comprehensive* and some sites might be
# included here that you wish to visit, if this is the case you can
# deactivate the block on that site by placing a # (octothorpe)symbol
# before its entry, this will deactivate blocking on that server
# so for example #127.0.0.1 foobar.com
# will enable you to visit foobar.com or you can just simply delete
# the line that contains the site you wish to visit.
# NB:
# For some computer software updates you may need to disable
# this file in order to perform the update, if you have problems
# rename this file from "hosts" to "hosts.txt" reboot then perform
# the update and then rename this file back to "hosts" to re-enable it
# You must keep the below lines
127.0.0.1 localhost
127.0.0.1 pop3.norton.antivirus
127.0.0.1 pop3.spa.norton.antivirus
127.0.0.1 admintds.megatds.com
127.0.0.1 ads.game.net
127.0.0.1 ads.tokgajah.com
127.0.0.1 dl.downloadhosting.com
127.0.0.1 game.treeloot.com
127.0.0.1 gw1.celticfestival.org
127.0.0.1 incestlove.info
127.0.0.1 klickcash.com
127.0.0.1 loomia.cachefly.net
127.0.0.1 pornoexit.com
127.0.0.1 privacy.virtumundo.com
127.0.0.1 redirect.virtumundo.com
127.0.0.1 tds.megatds.com
127.0.0.1 telebizz.org.uk
127.0.0.1 the2all.info
127.0.0.1 treeloot.com
127.0.0.1 ultraload.net
127.0.0.1 ultratds.com
127.0.0.1 v1.cc
127.0.0.1 virtumundo.com
# etc...
The thing i'm unsure of is this section:
# You must keep the below lines
127.0.0.1 localhost
Since localhost is already stated here:
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost pote
For now I've deleted the redundant localhost entry, since it seems to be there for windows compatability.
Is there any harm in leaving that entry?
Last edited by verve (2008-11-29 04:08:29)Not as far as I know.
It probably just re-encounters the localhost hostname and either dumbly re-adds it to the internal table or ignores it. In any case, no logically discernible harm done.
-dav7 -
Fall back to DNS if node in HOSTS file doesn't respond
I have a server farm in which the servers talk to each other on a private backbone (via hosts files), but the clients talk to the servers on a second NIC via AD/DNS. Is there a way to have the servers fail over to DNS if entries in the hosts files don't
respond (in other words, if the private backbone switch fails)?1. It depends on node type, DNS suffixes and DNS content.
2. Be aware of problems with multihome domain controller.
http://technet.microsoft.com/en-us/library/cc772564.aspx
Regards
Milos -
How can u get the matching percentage whenever compare the pdf files(compare the strings)
Actually I want matching percentage whenever compare the pdf files.First I had completed
read the pdf files content into string
my code like as
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
namespace WindowsFormsApplication1
public partial class Form1 : Form
string str1;
string filename;
string path;
string str2;
public Form1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.CheckFileExists = true;
openFileDialog.AddExtension = true;
openFileDialog.Filter = "PDF files (*.pdf)|*.pdf";
DialogResult result = openFileDialog.ShowDialog();
if (result == DialogResult.OK)
filename = Path.GetFileName(openFileDialog.FileName);
path = Path.GetDirectoryName(openFileDialog.FileName);
textBox1.Text = path + "\\" + filename;
private void button2_Click(object sender, EventArgs e)
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.CheckFileExists = true;
openFileDialog.AddExtension = true;
openFileDialog.Filter = "PDF files (*.pdf)|*.pdf";
DialogResult result = openFileDialog.ShowDialog();
if (result == DialogResult.OK)
filename = Path.GetFileName(openFileDialog.FileName);
path = Path.GetDirectoryName(openFileDialog.FileName);
textBox2.Text = path + "\\" + filename;
public static string ExtractTextFromPdf(string filename)
using (PdfReader r = new PdfReader(filename))
StringBuilder text = new StringBuilder();
for (int i = 1; i <= r.NumberOfPages; i++)
text.Append(PdfTextExtractor.GetTextFromPage(r, i));
string result = text.ToString();
return result;
public static string Extract(string filename)
using (PdfReader r = new PdfReader(filename))
StringBuilder text = new StringBuilder();
for (int i = 1; i <= r.NumberOfPages; i++)
text.Append(PdfTextExtractor.GetTextFromPage(r, i));
string result1 = text.ToString();
return result1;
private void button3_Click(object sender, EventArgs e)
str1 = Form1.ExtractTextFromPdf(textBox1.Text);
str2 = Form1.Extract(textBox2.Text);
}Finally how can u get the matching percentage whenever compare the pdf files(compare the strings)please help me.thank uHi,
Based on your code, I see your code related to
iTextSharp Pdf.
iText is a third party library to create PDF originally written for java. iTextSharp is
the C# adaptation of that library.
Question regarding iText are better asked on the iText forum, rather than the Microsoft Forum:
http://itextpdf.com/support
Thanks for your understanding.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello
I have 2 LAN's at home:
LAN1 has a iMacG5 and has a connection to the internet (192.168.1.xxx)
LAN2 has a MacBookPro and 2 printers connected to it (192.168.2.xxx)
LAN1 connects to LAN2 using a Belkin router
Devices in LAN1 and LAN2 can both access the internet without problem both by using the internet connection present in LAN1
Devices in LAN2 can ping devices in LAN1
My issue:
Devices in LAN1 can not ping devices in LAN2, therefore no networking is possible nor usage of the printers in LAN2 by devices from LAN1
How do I resolve this? In a windows world I would edit a host file, how is it done in MAC OSX 10.4.
Thank you in advance for any help. Best regardsDevices in LAN1 can not ping devices in LAN2, therefore no networking is possible nor usage of the printers in LAN2 by devices from LAN1
Saying that you cannot ping does not necessarily mean that you cannot use other services. It is possible for the router to block ICMP (ping) while still permitting other traffic.
It may be the case, I just wanted to clarify that ICMP is not an absolute test.
My guess as to the problem is that the belkin router is actually performing NAT so that traffic from LAN2 is getting translated into a LAN1-based IP address as it passes through the Belkin. Since devices in LAN1 see a LAN1-based IP address they can reply and the Belkin does the work of re-translating the connection to the LAN2 device.
However, this does not work the other way around. It's the same issue with whatever device you have connecting you to the internet - it takes the LAN1 traffic and translates it into real-world IP addresses and passes the response back, but no one on the outside world can get to the LAN1 devices directly (unless you setup port forwarding to tell the router what external traffic to let in, and what to do with it).
Your options really are to either
1) setup port forwarding on the router to allow traffic to allow traffic from LAN1 to LAN2
2) Do not use NAT on the intermediate router (if it's supported) and use static routes between LAN1 and LAN2
3) Unify the network so that all the devices are on the same network, without an intermediate router
#3 is probably easiest, but I'm guessing you set it up this way for a reason. -
Strange file called masterNames.strings launches xcode at startup
I've just upgraded my hard drive to 640GB and duplicated the previous 500GB hard drive with SuperDuper. Everything seems like how it is supposed to be, except that xcode launches this strange file called "masterNames.strings" when I start the machine. Below is the content of the file.
"Title & Bullets - Right" = "标题与项目符号 - 右对齐";
"Title - Top" = "标题 - 顶部对齐";
"Bullets" = "项目符号";
"Title - Center" = "标题 - 居中";
"Title, Bullets & Photo" = "标题、项目符号与照片";
"Blank - Ornamental Border" = "空白 - 装饰边框";
"Title & Bullets" = "标题与项目符号";
"Title & Bullets - Left" = "标题与项目符号 - 左对齐";
"Blank" = "空白";
"Photo - 3 Up" = "照片 - 3 联";
"Title & Bullets - 2 Column" = "标题与项目符号 - 2 栏";
"Photo - Vertical" = "照片 - 垂直";
"Title & Subtitle" = "标题与副标题";
"Photo - Horizontal" = "照片 - 水平";
Apparently it's in Chinese but Chinese is not at all the language I've set up the OS with. I use U.S. English. I do not know where this file came from. I've repaired permissions using Maintenance but it doesn't seem to fix it.
I've googled around to see if anyone has experienced a similar problem and found one (and only one) that looks strikingly similar to my issue, except that the language is Portuguese for him. Here's the link to that thread. It was two years ago and doesn't look like it was solved.
http://discussions.apple.com/thread.jspa?threadID=1800575
Could somebody please help me? This is pretty annoying.Open Accounts preferences and click on the Login Items tab. If you see that file in the list then select it and click on the Delete [-] key.
Consider otherwise that your clone is not good unless it's also happening on the drive you replaced. -
Hi All,
When my portal and VC does not connect to the server, I raised the question to the basis guys and they gave me a link and said add this to your Host File. What do they mean by Host File and where will it be and the name of it and how I can add this line?
Thanks,
Alex.Hi,
You can hav the "host" file which is located in your system
C:\WINDOWS\System32\drivers\etc
under "etc" you find a file "hosts" open with Notepad and give the Localhost or Server host #'s
128.xx.xy.00... localhost
1XY.AB.CD.00. hpdev
etc.. etc.
For more info on hostfile content pls go through
[http://help.sap.com/saphelp_nw04s/helpdata/en/a0/64755c05a811d2a96c00a0c9449261/frameset.htm]
regards,
rudra.
Assign points if helpful -
I was in sudo mode and wiped out my /etc/hosts file. anyone have any idea what i did, or better how to rewrite the proper text there?
edge.it wrote:
I was in sudo mode and wiped out my /etc/hosts file. anyone have any idea what i did, or better how to rewrite the proper text there?
Here's what mine has in it:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
(Remove the space at the beginning of each line. I had to add those to keep the board software from scrambling the content.)
Here are it's permissions settings:
-rw-r--r-- 1 root wheel 236 Jun 23 2009 /etc/hosts
I wasn't watching you type, so I don't have any idea what you did to delete that. In Terminal the history command will show you a large number of the last commands you typed. Perhaps that will give you a clue. -
Set TCP/IP hostname on e61, 'hosts file' equivalen...
I use my e61 over wlan on my home network. It appears that the e61 does not set a 'hostname', and i can't find a way to manually configure a 'hostname' (as I can on every other IP device I have).
Is it possible to set a 'hostname' on the e61? I hate having devices on my network that have addresses but no names.
Lastly my home network has a number of devices (cameras, printers, home control) with static IP addresses. I don't currently run a DNS server so these addresses are looked up on the PC in a hosts file (and netinfo for my Macs).
Is there a hosts file or equivalent on the e61.
Regards,
--KipIn article <[email protected]>, DomincusB wrote:
> Save the screen to a file?
>
Yes, press F1 on the logger screen and see the help content. F2
should
save to a file. With the latest patches for NetWare, you can specify
the file location and name as well.
Craig Johnson
Novell Support Connection SysOp
*** For a current patch list, tips, handy files and books on
BorderManager, go to http://www.craigjconsulting.com ***
Maybe you are looking for
-
Burning disk images on Disk Utility...
How do I burn multiple Disk Images onto a single DVD that I can then use on a PC? I have several 3 CD application images, and I want to convert them to DVD, but I can't figure it out, and I have no clue how this can be done! thanks! (PS) I also have
-
I can,t activate iphone 3gs after upgrade 6.1.2
I can,t activate my iphone 3gs after upgrade 6.1.2.Now what i can do
-
Power PC applications not supported
I get a "power PC application not supported" when I try to open migrated files from my old mac to a new one, Any suggestions?
-
hi friends, i want to know how to create setup files in abap to install a abap program.
-
I am using Adobe Cq5.6 OOB. I installed the Cq5.5 Social Communities and CQ5.5 Social Connect - Sample packages. After restart, I have one bundle in "Installed" status, with a missing dependencies: com.adobe.granite.auth.oauth,version=[2.0,3) -- C