Vertical scrolls only one direction
First, I found the vertical scrolling was in reverse. After going through system preference->mouse and check the "move content in the direction of finger movement when scrolling or navigating" I got it to move to the direction I want (i.e. as before).
Now for some reason, I can only scroll to one vertical direction regardless how I rotate the mouse center button. It is so annoying that I have to click on the vertical bar and move it while holding the mouse down. Any help on fixing this is appreciated.
I fixed it, all I need to do is press the little center button down hard while rolling it around. Maybe there was some dirt stuck in the ball. I am good now.
Similar Messages
-
Apple Mouse only scrolls in one direction after 10.6.8 update
I just updated to 10.6.8 security update, itunes and safari update (I think?) Can't remember now. The update was 10-4-11.
My Apple mouse now only scrolls in one direction. I thought is was dirty and it is not. There are posted issues with this safarie update with mouse related problems, however I am experiencing them in all programs.
Rebooted several times, re-cleaned mouse scroll ball, did the paper trick by cleaning. No success.
I can scroll down but not up. It forces me to grab the scroll bar and manually drag the scrolling window.
Again ALL programs. Was just fine right before the update. Now a problem after
Benswb gives good advice. If that didn't work:
How to really clean your Mighty Mouse (with caution!):
http://support.apple.com/kb/HT3226?viewlocale=en_US
and:
http://web.mac.com/karelgil/iWeb/MacWebSite/MightyMEng.html
http://www.linklink.co.uk/apple-computers/cleaning-inside-and-dismantling-the-ap ple-mighty-mouse/ -
Creating JScrollPane with vertical scroll only...
Anyone got any idea how to use a JScrollPane to perform vertical scrolling only?
The components should be stacked vertically, as wide as the scrollpane and as high as they need to be.
Is it only possible by adding a ComponentListener to the JScrollPane (or the JViewPort) and setting the maximum width of the components to the width of the viewport?
Incidentally, anyone know how a JLabel (or any text component) calculates its preferred size when it can wrap the text contained? Ie, how do you get the preferred height for a specified width?Doh - implement Scrollable to return true for getScrollableTracksViewportWidth()!
-
All of a sudden, my mouse will scroll only one way (down) with the trackball. I assume it's a corrupted preference(?), but I don't find the .plist item (probably not looking in the right place). Would appreciate help asap.
TIA,
PicmanClean the tracking button. Details in http://store.apple.com/us/question/answers/product/MB112LL/B?pqid=QX2AHHD74J7F2T 2JKY9TDJY7PJ2C77Y4T Do note, that denatured alcohol on a soft cloth sometimes is needed if the residue is extremely oily.
-
Hi,
I'm trying to make a JTextArea scrollable in vertical direction only. I've not found even one solution on this forum and many others.
AWT version of JTextArea (ie TextArea) allowed vertical or horizontal scroll only, simply with constants given to the constructor. But in Swing version (ie JTextArea), nothing... :-o
My JTextArea used word-wrap, so that's why I don't want a hrz scroll, cause when i've got such a both-direction-scroll, word-wrap is no more required since JTextArea width increased...
I tried this :
JScrollPane scrollPane = new JScrollPane(textArea,
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);of course, even if the horz scrollbar was no more visible, the jtextarea width was still extended.
I just want something like a Word document, like a simple textarea on a web page, and so on...
so I tryed to force the textarea width to match the viewport width with a "resize-listener" :
scrollPane.addComponentListener(new ComponentAdapter()
public void componentResized(ComponentEvent e)
Dimension dim = new Dimension(scrollPane.getViewport().getWidth(),
(int)textArea.getPreferredSize().getHeight());
textArea.setPreferredSize(dim);
textArea.revalidate();
});it looks better but now my vertical scrollbar doesn't scroll the entire document (the scrollpane thinks textarea is smaller than it is) this is surely due to the line wrap, but I don't know how to deal with it...
please help !
many thanks in advance :)This is what i do, and it usually works:
list = new JList(aListOfItems);
scrollPane = new JScrollPane(list);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
scrollPane.setMaximumSize(new Dimension(160,200));
I've sometimes found that if i fail to set the scrollpane's size, it does not come up on screen properly, so maybe that's your problem.
By the way, there are 6 arguments that the setHorizontalScrollBarPolicy / setVerticalScrollBarPolicy method can take:
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER
JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED
JScrollPane.VERTICAL_SCROLLBAR_NEVER
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
It's pretty obvious what they mean. -
Port Disable for traffic flowing only one direction
Hi,
We use some Catalyst Express 500 and ESW-520 in our company.
But with the Catalyst Express 500 we have problem that we can't arrive to explain.
Some Gi port turn disable with this log error message :
Description: Gi1: This port is disabled because the traffic is flowing only in one direction. The cause might be incorrect cabling.
Recommendation: Make sure that cable is properly connected to the ports. For fiber connections, ensure that the transmit and receive fibers are connected correctly. Disable and Enable the port.
For the recommandation the cable is right, we change it and we change the switch by an other and the probleme continue.
If we change with a ESW-520 the problem don't arrive, but we can't change all our old switch for moment.
Any idea about this problem?Hi Guys,
Thank you all for your help. The packet was being dropped on the "implicit rule", that means that the packet was not finding an ACL to match.
I checked the ACLs that the VPN Wizard generates by itself when used to configure an IPSec connection, and the ACLs where correct and "before" the implicit rule . (They are called by default outside_cryptomap_"number")
It seems that since I am not using "sysopt connection permit-vpn" I have to add the same ACLs to the "Local Network" interface (VPN_LAN).
Since there was inbound ACLs related to the VPN_LAN interface, the firewall jumped directly to the "implicit rule".
So the result is that I have two times the same rules first inbound on the VPN_LAN and second on the default outside_cryptomap ACLs.
Greetings,
Daniel -
Handoff Works Only One Direction
Apple has forced me to change my password to make updates to my account. Every since then, Handoff has stopped working one direction.
Going from OS X (10.10.3) to iOS (8.2 now 8.3) actually works, for both my iPhone and iPad.
However, the other direction isn't working. I've tried disabling and re-enabling handoff on all my device. Neither iOS device is sending or can send to my MBPro. This has also broken my ability to receive SMS texts in my MBPro. As both devices accept Handoff just fine, but neither can seen to hand-off successfully, I'm inclined to think it's my MBPro having the issue. And given it does work one direction, we can rule out Network or connectivity issues.
Has anybody else experienced this problem? What can I do to get this back working again?Follow the instructions in this support article. All the devices using Handoff must be connected to the same Wi-Fi network. If the Mac also has an Ethernet connection, disconnect the Ethernet cable.
If Handoff still doesn't work, on the mobile device, turn Handoff off and back on as directed in the linked article. On the Mac, turn Bluetooth off and back on. You might have to restart a mobile device to get it working. -
ICloud calendar syncing working only one direction. help
I'm using iCloud to sync with my calendar. However, I can only see the events that I post using my laptop. I can't see the appointments I create directly from my iPhone. Can anyone help me figure this out?
You don't say what version of Outlook you are using, but see if this article helps: http://office.microsoft.com/en-us/outlook-help/synchronize-outlook-and-apple-iph one-or-ipod-touch-contacts-HA010266802.aspx
-
How to make a pop up window resizeable in ONLY ONE direction
hi i have to open a pop up window whose horizontal resizeable option is to be disabled and ONLY the vertical resizeable option should be available. i browsed for a code but its not working properly.
====================================
<html>
<head>
<title>fix horizontal</title>
<script language="JavaScript">
var fixedWidth;
function getH() {
if (document.body && document.body.clientWidth)
fixedWidth = document.body.clientWidth;
else if (window.outerWidth)
fixedWidth = window.outerWidth;
function resize() {
if (document.body && document.body.clientWidth)
document.body.clientWidth = fixedWidth;
else if (window.outerWidth)
window.outerWidth = fixedWidth;
</script>
</head>
<body onLoad="getH()" onResize="resize()">
...<Body Contents>
</body>
</html>
============================================
The problem with this code is that the
document.body.clientWidth = fixedWidth;
line shows an error saying that "Object doesn't support this action"
can anyone help me out with this?Just so nobody else misses it...
| | __ ___ ____ _ | |_____
_ | |/ _` \ \ / / _` | | |_____|
| |_| | (_| |\ V / (_| | |_|_____|
\___/ \__,_| \_/ \__,_| (_)
| | __ ___ ____ _ ___ ___ _ __(_)_ __ | |_
_ | |/ _` \ \ / / _` / __|/ __| '__| | '_ \| __|
| |_| | (_| |\ V / (_| \__ \ (__| | | | |_) | |_
\___/ \__,_| \_/ \__,_|___/\___|_| |_| .__/ \__|
|_|wishful thinking, I suppose... (no offense to the OP, but we get this a lot). -
Contacts syncing in only one direction
If I add a contact into outlook it will instantly (almost) sync with my phone. The problem is that if I add a contact into my phone, it will never syn with outlook. My calendar will sync in both directions and I have iControl panel downloaded and "Mail, Contacts...." has been selected.
What am I doing wrong?You don't say what version of Outlook you are using, but see if this article helps: http://office.microsoft.com/en-us/outlook-help/synchronize-outlook-and-apple-iph one-or-ipod-touch-contacts-HA010266802.aspx
-
I initially synced google to my mac and it worked fine. I set up the sync in the mail app. Under contacts preferences, I picked the "on My Mac" and clicked sync with google.
Everything In google continues to sync to my mac. But if I add something to my contact book on the Imac, it doesn't go in the other direction.
I tried adding an exchange account... no better.
I tried adding a new CalDav google account in contacts... no better.
I am at my wits end. Can someone please suggest a solution?
Thank you.I am going to give followup.
The problem was corruption of my brand new Imac 27. I went around and around with applecare and they finally figured out that my preferences were corrupted. Usuallly that can be fixed but they were unable. Basically, everytime I set the right connection to gmail up, it changed it...
Finally, I set up a new user account on my mac. I logged into that user and started all over again. Now everything works.
I spent hours and hours on this... I bought a mac because "It just works" No more fooling with the registry and spending forever in dread with tech support. OK, so Mac doesn't have a registry. It has libraries. I spent forever fixing it.. Felt just like my Windows experience. Hope this isn't a harbinger of things to come. -
Problem with siptrink, call only one direction
i need help, i created a sip trunk with other sip server, but the cme give this error:
070846: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 54.207.30.33:5080;rport;branch=z9hG4bKD7U28atZZ6r7B
Max-Forwards: 69
From: "Extension 1000" <sip:[email protected]>;tag=Br453j6KcmKFN
To: <sip:[email protected]>
Call-ID: ef0174b1-5735-1233-6ebd-02585e7b1bc5
CSeq: 73838188 INVITE
Contact: <sip:[email protected]:5080;transport=udp;gw=aerosan>
User-Agent: FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 223
X-FS-Support: update_display,send_info
Remote-Party-ID: "Extension 1000" <sip:[email protected]>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1428321972 1428321973 IN IP4 54.207.30.33
s=FreeSWITCH
c=IN IP4 54.207.30.33
t=0 0
m=audio 26532 RTP/AVP 0 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
070847: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 488 Not Acceptable Media
Via: SIP/2.0/UDP 54.207.30.33:5080;rport;branch=z9hG4bKD7U28atZZ6r7B
From: "Extension 1000" <sip:[email protected]>;tag=Br453j6KcmKFN
To: <sip:[email protected]>;tag=3888E968-22ED
Date: Mon, 06 Apr 2015 19:23:05 GMT
Call-ID: ef0174b1-5735-1233-6ebd-02585e7b1bc5
CSeq: 73838188 INVITE
Allow-Events: telephone-event
Warning: 304 200.111.156.150 "Media Type(s) Unavailable"
Reason: Q.850;cause=65
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
the sip trunk configuration:
dial-peer voice 3611 voip
permission orig
description aws
huntstop
preference 1
destination-pattern 100.
session protocol sipv2
session target ipv4:54.207.30.33:5080
incoming called-number 1000
voice-class codec 2
no vad
the voice configuration:
voice service voip
address-hiding
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h450.2
supplementary-service h450.12
sip
voice class codec 2
codec preference 1 g711ulaw
voice class codec 1
codec preference 1 g711ulaw
please help meOn the second question...
If the videos are multiplexed MPEG files then the audio and the video are muxed onto the same track. QuickTime, and therefore any application that uses QT like iTunes, the iPod, iMovie (Mac app), etc. expect two separate tracks, one video and one audio. So when you play these muxed files, the video is played and the audio is not heard.
So you need to do a conversion on the file first. MPEG Streamclip is a popular one that comes in both Mac and Windows versions and is known to "repair" this problem.
See this other link for other applications that might be able to do the same thing. But your root cause is the muxed MPEG files.
GUIDES TO: Converting Video for iPod - Mac & Window
http://forums.ilounge.com/showthread.php?s=&threadid=123067
Patrick -
Calenday Syncs in only one direction
Every time I add a calendar event on my iPhone, the next time it syncs, that event disappears and the calendar entries revert back to what is on my desktop. I have MobileMe activated, and I sync regularly with the USB cable. What am I doing wrong?
If you are syncing calendar events over the air with your MM account on your iPhone, then you aren't syncing calendar events via the iTunes sync process.
You can do one or the other, not both.
Are you syncing calendar events over the air or via the iTunes sync process? -
My calendar syncs only one direction (mac to iPhone) but not the other direction?
I used to run a sync of my iPhone and my newly entered appointments would sync both directions whether I had entered them on my iphone or on my mackbook PRO.
Now when I enter an entry on my phone it does not upload to my Mac Calendar. but if I entered the appointment on the MAC then it does sync to my iphone5.
Not sure if it changed after an ios upgrade or when. Tried it several times both wirelessly syncing as wel as with a USB cable.
Any ideas if this is a setting?Greetings Mary,
If you are syncing using USB you can sync your iPhone to your computer which will update iCal with the iPhone's calendar. Then when you plug in your iPad and sync your iPad, it too will update with the same information from iCal. This article discussing turning on syncing for different devices: http://support.apple.com/kb/HT1386
Cheers. -
Solaris 11 responds to IPSEC VPN traffic ONLY one direction
I have established a IPSEC VPN tunnel between my remote solaris 11 and office Sonicwall router using Site to Site. Everything works fine if the traffic initiates from the Solaris side. However when I try to ping or any network services like nfs,ssh, samb, etc. on the remote solaris box from our office. The server does NOT respond to the incoming packets but packets are going through the tunnel and appears on the remote end when I do snoop –d tun0 and snoop –I vnic0. What I do notice is that snoop –d vnic0 shows no packets and it doesn’t seem to get any traffic at all (see netstat –rn). Could it be my routing table? Ip zones? Any ideas? I followed the Oracle Documents very carefully and with extra help from other extern Solaris 11 admin sites. I know people would suggest using OpenSwan or OpenVPN but this setup should work.
Here is the network info on my IPSEC VPN setup. Tunnel is configured in Transport Mode and IPSEC/IKE is working fine.
Solaris 11 vnic0/10.4.0.1/24, external Internet Nic is nge0/209.xxx.xxx.194/25
# dladm show-link
LINK CLASS MTU STATE OVER
nge0 phys 1500 up --
tun0 iptun 1402 up --
vnic0 vnic 1500 up nge0
# dladm show-iptun
LINK TYPE FLAGS LOCAL REMOTE
tun0 ipv4 s- 209.xxx.xxx.194 64.xxx.xxx.34
# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
nge0 ip ok yes --
vnic0 ip ok yes --
tun0 ip ok yes --
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
nge0/v4 static ok 209.xxx.xxx.194/25
vnic0/inside static ok 10.4.0.1/24
tun0/v4 static ok 10.4.0.1->172.20.0.1
lo0/v6 static ok ::1/128
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
default 209.xxx.xxx.129 UG 6 16874898 nge0
10.4.0.0 10.4.0.1 U 2 0 vnic0
10.181.0.0 172.20.0.1 UGS 3 16862235 tun0
127.0.0.1 127.0.0.1 UH 2 1786 lo0
172.20.0.1 10.4.0.1 UH 3 16862235 tun0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
::1 ::1 UH 2 42 lo0
# routeadm
Configuration Current Current
Option Configuration System State
IPv4 routing disabled disabled
IPv6 routing disabled disabled
IPv4 forwarding disabled disabled
IPv6 forwarding disabled disabled
Routing services "route:default ripng:default"
Routing daemons:
STATE FMRI
disabled svc:/network/routing/ripng:default
disabled svc:/network/routing/rdisc:default
disabled svc:/network/routing/route:default
disabled svc:/network/routing/legacy-routing:ipv4
disabled svc:/network/routing/legacy-routing:ipv6
online svc:/network/routing/ndp:default
Solaris># ping 10.181.1.218
10.181.1.218 is alive
C:\>ping 10.4.0.1
Pinging 10.4.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
# snoop -d tun0 10.181.1.218
Using device tun0 (promiscuous mode)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 33) (1 encap)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 34) (1 encap)
# snoop -I vnic0 10.181.1.218
Using device ipnet/vnic0 (promiscuous mode)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 36)
10.181.1.218-> 10.4.0.1 -i ICMP Echo request (ID: 1 Sequence number: 37)
# ipadm show-prop
PROTO PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
ipv4 forwarding rw off off off on,off
ipv4 ttl rw 255 -- 255 1-255
ipv6 forwarding rw off -- off on,off
ipv6 hoplimit rw 255 -- 255 1-255
ipv6 hostmodel rw weak -- weak strong,
src-priority,
weak
ipv4 hostmodel rw strong strong weak strong,
src-priority,
weak
icmp max_buf rw 262144 -- 262144 65536-1073741824
icmp recv_buf rw 8192 -- 8192 4096-262144
icmp send_buf rw 8192 -- 8192 4096-262144
tcp cong_default rw newreno -- newreno newreno,cubic,
highspeed,vegas
tcp cong_enabled rw newreno,cubic, newreno,cubic, newreno newreno,cubic,
highspeed, highspeed, highspeed,vegas
vegas vegas
tcp ecn rw passive -- passive never,passive,
active
tcp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
tcp largest_anon_port rw 65535 -- 65535 32768-65535
tcp max_buf rw 1048576 -- 1048576 128000-1073741824
tcp recv_buf rw 128000 -- 128000 2048-1048576
tcp sack rw active -- active never,passive,
active
tcp send_buf rw 49152 -- 49152 4096-1048576
tcp smallest_anon_port rw 32768 -- 32768 1024-65535
tcp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
udp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
udp largest_anon_port rw 65535 -- 65535 32768-65535
udp max_buf rw 2097152 -- 2097152 65536-1073741824
udp recv_buf rw 57344 -- 57344 128-2097152
udp send_buf rw 57344 -- 57344 1024-2097152
udp smallest_anon_port rw 32768 -- 32768 1024-65535
udp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
sctp cong_default rw newreno -- newreno newreno,cubic,
highspeed,vegas
sctp cong_enabled rw newreno,cubic, newreno,cubic, newreno newreno,cubic,
highspeed, highspeed, highspeed,vegas
vegas vegas
sctp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
sctp largest_anon_port rw 65535 -- 65535 32768-65535
sctp max_buf rw 1048576 -- 1048576 102400-1073741824
sctp recv_buf rw 102400 -- 102400 8192-1048576
sctp send_buf rw 102400 -- 102400 8192-1048576
sctp smallest_anon_port rw 32768 -- 32768 1024-65535
sctp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
# ipadm show-addrprop
ADDROBJ PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
lo0/v4 broadcast r- -- -- -- --
lo0/v4 deprecated rw off -- off on,off
lo0/v4 prefixlen rw 8 8 8 1-30,32
lo0/v4 private rw off -- off on,off
lo0/v4 reqhost r- -- -- -- --
lo0/v4 transmit rw on -- on on,off
lo0/v4 zone rw global -- global --
nge0/v4 broadcast r- 209.xxx.xxx.255 -- 209.xxx.xxx.255 --
nge0/v4 deprecated rw off -- off on,off
nge0/v4 prefixlen rw 25 25 24 1-30,32
nge0/v4 private rw on on off on,off
nge0/v4 reqhost r- -- -- -- --
nge0/v4 transmit rw on -- on on,off
nge0/v4 zone rw global -- global --
vnic0/inside broadcast r- 10.4.0.255 -- 10.255.255.255 --
vnic0/inside deprecated rw off -- off on,off
vnic0/inside prefixlen rw 24 24 8 1-30,32
vnic0/inside private rw off -- off on,off
vnic0/inside reqhost r- -- -- -- --
vnic0/inside transmit rw on -- on on,off
vnic0/inside zone rw global -- global --
tun0/v4 broadcast r- -- -- -- --
tun0/v4 deprecated rw off -- off on,off
tun0/v4 prefixlen rw -- -- -- --
tun0/v4 private rw off -- off on,off
tun0/v4 reqhost r- -- -- -- --
tun0/v4 transmit rw on -- on on,off
tun0/v4 zone rw global -- global --
ipadm show-ifprop
IFNAME PROPERTY PROTO PERM CURRENT PERSISTENT DEFAULT POSSIBLE
nge0 arp ipv4 rw on -- on on,off
nge0 forwarding ipv4 rw off off off on,off
nge0 metric ipv4 rw 0 -- 0 --
nge0 mtu ipv4 rw 1500 -- 1500 68-1500
nge0 exchange_routes ipv4 rw on -- on on,off
nge0 usesrc ipv4 rw none -- none --
nge0 forwarding ipv6 rw off -- off on,off
nge0 metric ipv6 rw 0 -- 0 --
nge0 mtu ipv6 rw 1500 -- 1500 1280-1500
nge0 nud ipv6 rw on -- on on,off
nge0 exchange_routes ipv6 rw on -- on on,off
nge0 usesrc ipv6 rw none -- none --
nge0 group ip rw -- -- -- --
nge0 standby ip rw off -- off on,off
vnic0 arp ipv4 rw on -- on on,off
vnic0 forwarding ipv4 rw on on off on,off
vnic0 metric ipv4 rw 0 -- 0 --
vnic0 mtu ipv4 rw 1500 -- 1500 68-1500
vnic0 exchange_routes ipv4 rw on -- on on,off
vnic0 usesrc ipv4 rw none -- none --
vnic0 group ip rw -- -- -- --
vnic0 standby ip rw off -- off on,off
tun0 arp ipv4 rw off -- on on,off
tun0 forwarding ipv4 rw on on off on,off
tun0 metric ipv4 rw 0 -- 0 --
tun0 mtu ipv4 rw 1402 -- 1402 68-65515
tun0 exchange_routes ipv4 rw on -- on on,off
tun0 usesrc ipv4 rw none -- none --
tun0 group ip rw -- -- -- --
tun0 standby ip rw off -- off on,off
Edited by: user1233039 on Jun 20, 2012 9:18 AMI have established a IPSEC VPN tunnel between my remote solaris 11 and office Sonicwall router using Site to Site. Everything works fine if the traffic initiates from the Solaris side. However when I try to ping or any network services like nfs,ssh, samb, etc. on the remote solaris box from our office. The server does NOT respond to the incoming packets but packets are going through the tunnel and appears on the remote end when I do snoop –d tun0 and snoop –I vnic0. What I do notice is that snoop –d vnic0 shows no packets and it doesn’t seem to get any traffic at all (see netstat –rn). Could it be my routing table? Ip zones? Any ideas? I followed the Oracle Documents very carefully and with extra help from other extern Solaris 11 admin sites. I know people would suggest using OpenSwan or OpenVPN but this setup should work.
Here is the network info on my IPSEC VPN setup. Tunnel is configured in Transport Mode and IPSEC/IKE is working fine.
Solaris 11 vnic0/10.4.0.1/24, external Internet Nic is nge0/209.xxx.xxx.194/25
# dladm show-link
LINK CLASS MTU STATE OVER
nge0 phys 1500 up --
tun0 iptun 1402 up --
vnic0 vnic 1500 up nge0
# dladm show-iptun
LINK TYPE FLAGS LOCAL REMOTE
tun0 ipv4 s- 209.xxx.xxx.194 64.xxx.xxx.34
# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
nge0 ip ok yes --
vnic0 ip ok yes --
tun0 ip ok yes --
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
nge0/v4 static ok 209.xxx.xxx.194/25
vnic0/inside static ok 10.4.0.1/24
tun0/v4 static ok 10.4.0.1->172.20.0.1
lo0/v6 static ok ::1/128
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
default 209.xxx.xxx.129 UG 6 16874898 nge0
10.4.0.0 10.4.0.1 U 2 0 vnic0
10.181.0.0 172.20.0.1 UGS 3 16862235 tun0
127.0.0.1 127.0.0.1 UH 2 1786 lo0
172.20.0.1 10.4.0.1 UH 3 16862235 tun0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
::1 ::1 UH 2 42 lo0
# routeadm
Configuration Current Current
Option Configuration System State
IPv4 routing disabled disabled
IPv6 routing disabled disabled
IPv4 forwarding disabled disabled
IPv6 forwarding disabled disabled
Routing services "route:default ripng:default"
Routing daemons:
STATE FMRI
disabled svc:/network/routing/ripng:default
disabled svc:/network/routing/rdisc:default
disabled svc:/network/routing/route:default
disabled svc:/network/routing/legacy-routing:ipv4
disabled svc:/network/routing/legacy-routing:ipv6
online svc:/network/routing/ndp:default
Solaris># ping 10.181.1.218
10.181.1.218 is alive
C:\>ping 10.4.0.1
Pinging 10.4.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
# snoop -d tun0 10.181.1.218
Using device tun0 (promiscuous mode)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 33) (1 encap)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 34) (1 encap)
# snoop -I vnic0 10.181.1.218
Using device ipnet/vnic0 (promiscuous mode)
10.181.1.218-> 10.4.0.1 ICMP Echo request (ID: 1 Sequence number: 36)
10.181.1.218-> 10.4.0.1 -i ICMP Echo request (ID: 1 Sequence number: 37)
# ipadm show-prop
PROTO PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
ipv4 forwarding rw off off off on,off
ipv4 ttl rw 255 -- 255 1-255
ipv6 forwarding rw off -- off on,off
ipv6 hoplimit rw 255 -- 255 1-255
ipv6 hostmodel rw weak -- weak strong,
src-priority,
weak
ipv4 hostmodel rw strong strong weak strong,
src-priority,
weak
icmp max_buf rw 262144 -- 262144 65536-1073741824
icmp recv_buf rw 8192 -- 8192 4096-262144
icmp send_buf rw 8192 -- 8192 4096-262144
tcp cong_default rw newreno -- newreno newreno,cubic,
highspeed,vegas
tcp cong_enabled rw newreno,cubic, newreno,cubic, newreno newreno,cubic,
highspeed, highspeed, highspeed,vegas
vegas vegas
tcp ecn rw passive -- passive never,passive,
active
tcp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
tcp largest_anon_port rw 65535 -- 65535 32768-65535
tcp max_buf rw 1048576 -- 1048576 128000-1073741824
tcp recv_buf rw 128000 -- 128000 2048-1048576
tcp sack rw active -- active never,passive,
active
tcp send_buf rw 49152 -- 49152 4096-1048576
tcp smallest_anon_port rw 32768 -- 32768 1024-65535
tcp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
udp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
udp largest_anon_port rw 65535 -- 65535 32768-65535
udp max_buf rw 2097152 -- 2097152 65536-1073741824
udp recv_buf rw 57344 -- 57344 128-2097152
udp send_buf rw 57344 -- 57344 1024-2097152
udp smallest_anon_port rw 32768 -- 32768 1024-65535
udp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
sctp cong_default rw newreno -- newreno newreno,cubic,
highspeed,vegas
sctp cong_enabled rw newreno,cubic, newreno,cubic, newreno newreno,cubic,
highspeed, highspeed, highspeed,vegas
vegas vegas
sctp extra_priv_ports rw 2049,4045 -- 2049,4045 1-65535
sctp largest_anon_port rw 65535 -- 65535 32768-65535
sctp max_buf rw 1048576 -- 1048576 102400-1073741824
sctp recv_buf rw 102400 -- 102400 8192-1048576
sctp send_buf rw 102400 -- 102400 8192-1048576
sctp smallest_anon_port rw 32768 -- 32768 1024-65535
sctp smallest_nonpriv_port rw 1024 -- 1024 1024-32768
# ipadm show-addrprop
ADDROBJ PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
lo0/v4 broadcast r- -- -- -- --
lo0/v4 deprecated rw off -- off on,off
lo0/v4 prefixlen rw 8 8 8 1-30,32
lo0/v4 private rw off -- off on,off
lo0/v4 reqhost r- -- -- -- --
lo0/v4 transmit rw on -- on on,off
lo0/v4 zone rw global -- global --
nge0/v4 broadcast r- 209.xxx.xxx.255 -- 209.xxx.xxx.255 --
nge0/v4 deprecated rw off -- off on,off
nge0/v4 prefixlen rw 25 25 24 1-30,32
nge0/v4 private rw on on off on,off
nge0/v4 reqhost r- -- -- -- --
nge0/v4 transmit rw on -- on on,off
nge0/v4 zone rw global -- global --
vnic0/inside broadcast r- 10.4.0.255 -- 10.255.255.255 --
vnic0/inside deprecated rw off -- off on,off
vnic0/inside prefixlen rw 24 24 8 1-30,32
vnic0/inside private rw off -- off on,off
vnic0/inside reqhost r- -- -- -- --
vnic0/inside transmit rw on -- on on,off
vnic0/inside zone rw global -- global --
tun0/v4 broadcast r- -- -- -- --
tun0/v4 deprecated rw off -- off on,off
tun0/v4 prefixlen rw -- -- -- --
tun0/v4 private rw off -- off on,off
tun0/v4 reqhost r- -- -- -- --
tun0/v4 transmit rw on -- on on,off
tun0/v4 zone rw global -- global --
ipadm show-ifprop
IFNAME PROPERTY PROTO PERM CURRENT PERSISTENT DEFAULT POSSIBLE
nge0 arp ipv4 rw on -- on on,off
nge0 forwarding ipv4 rw off off off on,off
nge0 metric ipv4 rw 0 -- 0 --
nge0 mtu ipv4 rw 1500 -- 1500 68-1500
nge0 exchange_routes ipv4 rw on -- on on,off
nge0 usesrc ipv4 rw none -- none --
nge0 forwarding ipv6 rw off -- off on,off
nge0 metric ipv6 rw 0 -- 0 --
nge0 mtu ipv6 rw 1500 -- 1500 1280-1500
nge0 nud ipv6 rw on -- on on,off
nge0 exchange_routes ipv6 rw on -- on on,off
nge0 usesrc ipv6 rw none -- none --
nge0 group ip rw -- -- -- --
nge0 standby ip rw off -- off on,off
vnic0 arp ipv4 rw on -- on on,off
vnic0 forwarding ipv4 rw on on off on,off
vnic0 metric ipv4 rw 0 -- 0 --
vnic0 mtu ipv4 rw 1500 -- 1500 68-1500
vnic0 exchange_routes ipv4 rw on -- on on,off
vnic0 usesrc ipv4 rw none -- none --
vnic0 group ip rw -- -- -- --
vnic0 standby ip rw off -- off on,off
tun0 arp ipv4 rw off -- on on,off
tun0 forwarding ipv4 rw on on off on,off
tun0 metric ipv4 rw 0 -- 0 --
tun0 mtu ipv4 rw 1402 -- 1402 68-65515
tun0 exchange_routes ipv4 rw on -- on on,off
tun0 usesrc ipv4 rw none -- none --
tun0 group ip rw -- -- -- --
tun0 standby ip rw off -- off on,off
Edited by: user1233039 on Jun 20, 2012 9:18 AM
Maybe you are looking for
-
How do I move e-mails from INBOX?
E-mails are mysterially being deleted from my iPhone. #1 - how can I prevent this from happening? #2 - how can I create a new folder so that I can move some of the e-mails that I want to keep for an undetermined amount of time?
-
Yet again, my appointments have been be deleted from iPhone and iPad!
Can anyone explain why some appointments loaded on my iPad, iPhone and Outlook are deleted? And if there is any way I can recover them? Not for the first time. Thank you.
-
Error in ReaderExtension WatchFolder Concept
Hi, I installed the AdobeLiveCycle ES for ReaderExtensions. I used the ReaderExtensions through watchfolder concept. But the file found in failure folder with "failure.log". So please kindly see the below error in .log file and give solution. Failure
-
Executing 2 bat files in a single java program
I have 2 bat files named batch1.bat & batch2.bat these 2 files has to run one after the other.I has written the code as bellow: When i execute it it runs the first batch file named batch1.bat and exit. it is not running the second batch file. can any
-
I decided to "Upgrade" DW to CC 2014. First problem. This is NOT AN UPGRADE! This is a new installation. The button in Creative Cloud should say 'Install' and not 'Upgrade'. This is extremely irritating! Please give your customers credit for having a