7.5.2 breaks ipv6 from lan port
I have a slightly unorthodox ipv6 setup. Upgrading from 7.4.2 to 7.5.2 killed it. I ended up restoring my airport express base station w/802.11n to 7.4.2 to restore access.
dsl modem with a public v4 /29 network
hub connected to dsl modem
cisco 1701
interface Tunnel2
tunnel mode ipv6ip
interface FastEthernet0/0
on the public side connected to the hub
doing v6 nd
interface FastEthernet0/1
connected to a lan port of the airport
doing v6 nd
airport running 7.4.2 set as ipv6 link-local
merrily passing the v6 nd coming from the cisco to the wireless clients
airport running 7.5.2 set as ipv6 link-local
did not seem to pass the v6 nd
as seen (or not seen in this case) from my late 2007 Macbook Pro.
When originally setting up the airport(years ago), I found the router advertisements were not making it from the upstream port, so I worked around the issue by plugging the v6 router into a lan port on the airport.
Does anybody have experience with 7.5.2 and the Airport passing ipv6 natively (either from the upstream or lan ports)?
James Woodyatt wrote:
7.5 and later firmwares have a guard on the internal software bridge ports against rogue DHCP servers and RA advertisers, which is enabled if the DHCP server and/or the IPv6 router advertiser is attached to the bridge.
Ah, crud. That explains why my IPv6 connection is down with 7.5.2 - my sixxs.net tunnel is anchored on a box on an internal port. It'd be nice if rogue RA protection could be disabled...
Message was edited by: larseggert
Similar Messages
-
Windows (XP) not receiving IP address from LAN port on Airport Extreme
I have a DSL modem connected to the AEBS WAN port. Three computers (one Windows laptop, one emac, and one powerbook) can successfully connect to the internet wirelessly through the AEBS. The remaining desktop PC, running Windows XP, normally connects to the LAN port on the AEBS and there are no problems.
Suddenly, the desktop (always configured to get ip addresses automatically using DHCP) is not getting an IP address from the AEBS. I've confirmed this via IPconfig, and the address is 169..... The Windows error message is "limited or no connectivity."
When the desktop is connected directly to the DSL modem, however, it works just fine. Of course this isn't a satisfactory fix, as it means the DSL modem is no longer connected to the AEBS WAN port, and none of the wireless computers have internet access.
I've determined that the problem is not in the LAN port itself, as my powerbook successfully connects via ethernet through the AEBS LAN port.
I've also updated the AEBS firmware to 5.7.
Any suggestions on how to fix this. As I mentioned, the problem occurred overnight.Try using System Restore to set the computer back to a time when it was working.
iFelix -
I have a home wi-fi network based on a Time Capsule (3rd Gen.). I recently added a new "n" Airport Express to extend my wi-fi coverage to areas of my home where the signal has been weak or non-existant. The setup went very well (Airport Utility 6 on my MacBook Pro running Mtn. Lion) and was extremely simple and trouble free. Now I am attempting ot plug an ethernet device (internet bridge reciver from a wirelss weather station) into the LAN port. The weather station instructions say the device should communicate fine plugged directly into my router (not physically available where the device needs to be) OR plugged into a LAN port of an ethernet hub. My question is then: with the Airport Express in wi-fi extend mode, is the LAN port available to cable internet devices into the network?
My question is then: with the Airport Express in wi-fi extend mode, is the LAN port available to cable internet devices into the network?
Yes, assuming that the setup went correctly.
Test by moving your laptop or other computer close to the AirPort Express. Temporarily, turn off the wireless on the laptop and connect it using a spare Ethernet cable to the LAN port on the Express.
See if you can get an Internet connection. If you can, you know the Express has been configured and is functioning correctly.
Since the Express is in bridge mode when it "extends" both ports become LAN ports, so if you have a second device that needs an Ethernet connection, connect it to the WAN port as it will work as well. -
866VAE - cant acces web pages from LAN
Hi everyone,
im fighting with Cisco 866VAE-K9 for few days. I have got ADSL2+ line in Cisco, i can ping anything from router (like 8.8.8.8 or www.google.com), test of connection in CCP runs successfully, but i cant acces web pages from LAN computers. From LAN i can ping to any IP adress in internet (like 8.8.8.8), but i cant ping or access domain names of web pages (like www.google.com). I know there is probably something wrong in my config, but after 2 days of googling i cant find where the problem is. Can anybody help?
Here is my running config:
Building configuration...
Current configuration : 8181 bytes
! Last configuration change at 11:31:15 UTC Fri Mar 6 2015 by admin
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname cisco_866vae
boot-start-marker
boot-end-marker
logging buffered 51200 warnings
enable secret 5 xx
enable password xx
aaa new-model
aaa authentication login default local
aaa authorization exec default local
aaa session-id common
wan mode dsl
ip port-map user-protocol--1 port tcp 3500
ip name-server 8.8.8.8
ip cef
no ipv6 cef
parameter-map type protocol-info yahoo-servers
server name scs.msg.yahoo.com
server name scsa.msg.yahoo.com
server name scsb.msg.yahoo.com
server name scsc.msg.yahoo.com
server name scsd.msg.yahoo.com
server name cs16.msg.dcn.yahoo.com
server name cs19.msg.dcn.yahoo.com
server name cs42.msg.dcn.yahoo.com
server name cs53.msg.dcn.yahoo.com
server name cs54.msg.dcn.yahoo.com
server name ads1.vip.scd.yahoo.com
server name radio1.launch.vip.dal.yahoo.com
server name in1.msg.vip.re2.yahoo.com
server name data1.my.vip.sc5.yahoo.com
server name address1.pim.vip.mud.yahoo.com
server name edit.messenger.yahoo.com
server name messenger.yahoo.com
server name http.pager.yahoo.com
server name privacy.yahoo.com
server name csa.yahoo.com
server name csb.yahoo.com
server name csc.yahoo.com
parameter-map type protocol-info msn-servers
server name messenger.hotmail.com
server name gateway.messenger.hotmail.com
server name webmessenger.msn.com
parameter-map type protocol-info aol-servers
server name login.oscar.aol.com
server name toc.oscar.aol.com
server name oam-d09a.blue.aol.com
crypto pki trustpoint TP-self-signed-2886901321
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2886901321
revocation-check none
rsakeypair TP-self-signed-2886901321
crypto pki certificate chain TP-self-signed-2886901321
certificate self-signed 01
controller VDSL 0
class-map type inspect match-any SDM_BOOTPC
match access-group name SDM_BOOTPC
class-map type inspect match-any ccp-cls-protocol-p2p
match protocol edonkey signature
match protocol gnutella signature
match protocol kazaa2 signature
match protocol fasttrack signature
match protocol bittorrent signature
class-map type inspect match-all ccp-cls--1
match access-group name all
class-map type inspect match-all ccp-cls--2
match access-group name all1
class-map type inspect match-any ccp-cls-protocol-im
match protocol ymsgr yahoo-servers
match protocol msnmsgr msn-servers
match protocol aol aol-servers
class-map type inspect match-any SDM_SSH
match access-group name SDM_SSH
class-map type inspect match-any SDM_HTTPS
match access-group name SDM_HTTPS
class-map type inspect match-all SDM_GRE
match access-group name SDM_GRE
class-map type inspect match-any SDM_SHELL
match access-group name SDM_SHELL
class-map type inspect match-any sdm-cls-access
match class-map SDM_HTTPS
match class-map SDM_SSH
match class-map SDM_SHELL
class-map type inspect match-all sdm-access
match class-map sdm-cls-access
match access-group 101
policy-map type inspect ccp-policy-ccp-cls--1
class type inspect ccp-cls--1
pass
class class-default
drop
policy-map type inspect ccp-policy-ccp-cls--2
class type inspect ccp-cls--2
pass
class class-default
drop
zone security out
zone security in
zone-pair security sdm-zp-in-out source in destination out
service-policy type inspect ccp-policy-ccp-cls--1
zone-pair security sdm-zp-out-in source out destination in
service-policy type inspect ccp-policy-ccp-cls--2
interface Loopback0
ip address 192.168.100.1 255.255.255.0
zone-member security in
interface ATM0
no ip address
no atm ilmi-keepalive
interface ATM0.1 point-to-point
pvc 8/48
oam-pvc manage
pppoe-client dial-pool-number 1
interface Ethernet0
description $ETH-WAN$
no ip address
shutdown
pppoe-client dial-pool-number 2
interface FastEthernet0
no ip address
interface FastEthernet1
no ip address
interface FastEthernet2
no ip address
interface FastEthernet3
no ip address
interface GigabitEthernet0
no ip address
interface GigabitEthernet1
description $ETH-WAN$$FW_OUTSIDE$
ip address dhcp client-id GigabitEthernet1
ip tcp adjust-mss 1412
shutdown
duplex auto
speed auto
interface Vlan1
description $FW_INSIDE$
ip address 192.168.7.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
zone-member security in
ip tcp adjust-mss 1412
interface Dialer1
no ip address
interface Dialer2
description $FW_OUTSIDE$
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly in
zone-member security out
encapsulation ppp
dialer pool 1
dialer-group 3
ppp authentication chap pap callin
ppp chap hostname o2
ppp chap password 0 o2
ppp pap sent-username o2 password 0 o2
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip nat source list 101 interface Dialer2 overload
ip nat inside source static tcp 192.168.7.39 3500 interface Dialer2 3500
ip nat inside source list 101 interface Dialer2 overload
ip nat inside source route-map MAP_ACL interface Dialer2 overload
ip route 0.0.0.0 0.0.0.0 Dialer2 permanent
ip route 192.168.2.0 255.255.255.0 192.168.7.3 permanent
ip access-list extended NAT_ACL
deny ip 192.168.0.0 0.0.0.255 192.168.0.0 0.0.255.255
permit ip 192.168.0.0 0.0.0.255 any
ip access-list extended SDM_BOOTPC
remark CCP_ACL Category=0
permit udp any any eq bootpc
ip access-list extended SDM_GRE
remark CCP_ACL Category=1
permit gre any any
ip access-list extended SDM_HTTPS
remark CCP_ACL Category=1
permit tcp any any eq 443
ip access-list extended SDM_SHELL
remark CCP_ACL Category=1
permit tcp any any eq cmd
ip access-list extended SDM_SSH
remark CCP_ACL Category=1
permit tcp any any eq 22
ip access-list extended all
remark CCP_ACL Category=128
permit ip any any
ip access-list extended all1
remark CCP_ACL Category=128
permit ip any any
access-list 2 remark CCP_ACL Category=2
access-list 2 permit 192.168.7.0 0.0.0.255
access-list 101 remark CCP_ACL Category=128
access-list 101 permit ip any any
access-list 101 permit udp any any eq domain
access-list 101 permit udp any eq domain any
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
dialer-list 3 protocol ip permit
mac-address-table aging-time 15
route-map MAP_ACL permit 10
line con 0
no modem enable
line aux 0
line vty 0 4
exec-timeout 40 0
password xxxxxxx
transport input telnet ssh
transport output telnet ssh
scheduler allocate 60000 1000
endHi,
I would be happy to help but I have one question first: Your configuration contains a lot of cruft generated from SDM/CCP and I am not sure if any of that is really required by you. Do you believe you would be fine with having this entire configuration trimmed down and do just what's supposed to do (routing and NAT), and we had security measures added in later? Just by the way, I do not believe you need the zone-based firewall. In your simple setup with just a few inside/outside interfaces, it does not add any real value apart from making the configuration virtually unreadable. We can easily do the same with IP Inspect.
Best regards,
Peter -
Equium M50 will not recognise the LAN port - error: Network Cable unplugged
I own a Toshiba Equium M50 and have problems with the Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller.
I used to connect via an 'ADDON' Modem/ADSL Switch and had no problems. I then replaced the ADDON with a 'NETGEAR' DG834G ADSL Modem/Router to gain the wireless port, and since then my machine will not recognise the LAN port. <error: Network Cable unplugged>.
I know that the cables are OK as I used them with other laptops and had no trouble. I can also plug in a PCI card to connect without any problems. It looks to me as if the Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller has a problem with the netgear Modem/Router.
Anyone out there with a similar experience and some advice/suggestions?
PLEASEHi
For me it doesnt show like a LAN card problem but your router is a problem.
Check the device manager if the LAN card was properly recognized. If there are no yellow exclamation marks so everything is ok!
You can try to delete the LAN card from the device manager and after new reboot install the LAN driver again.
The issue has stared after installing or connecting the new Netgear modem router.
Therefore I would recommend to checking firstly the settings or to update the firmware on this router.
I have found additionally these useful websites
http://compnetworking.about.com/od/windowsnetworking/f/cableunplugged.htm
http://www.experts-exchange.com/Networking/Broadband/DSL_Cable/Q_20381405.html -
[solved] Troubleshoot ssh with keys (works from LAN, not WAN)
I'm trying to set up ssh so that I can connect to my work computer from home. It is pretty much essential that I keep the work box as secure as possible at all times. (So I can't disable the firewall, come home and test it because IT would not be at all happy.)
I'm not sure if this is an Arch question, a Fedora question or a general Linux/networking question.
The work box is running Fedora 17. It has a firewall eerily like the "simple stateful firewall" described on Arch's wiki. It is running sshd. Public key authentication is enabled. No other form of authentication is enabled. It has a rule allowing ssh connections.
My laptop is running Arch. It has a firewall very like that described on the "simple stateful firewall" page. It has a couple of rules allowing stuff I need at home (printer and something I had to enable for the LAN).
Initially, I was given an internal ip address. I got this working fine i.e. I could ssh into the box from my laptop while sitting next to it in my office over the LAN. I'm using the default form of key pair generated on Arch (i.e. rsa) and am using gpg-agent with ssh support in lieu of ssh-agent to manage keys. Pin entry is using the qt front end as I'm on KDE. (I adapted KDE's config so that it starts gpg-agent with ssh support for the session so that I didn't end up with two instances.)
Once the firewall was in place and sshd was running, they gave me a public ip address. At this point, no port was opened in their firewall to allow WAN connections but I tested the public ip address from within the LAN and it once again worked fine.
Once I'd confirmed the machine could connect out after getting a public ip, they arranged for the port to be opened for ssh. However, I cannot connect to the machine from home.
$ ssh -vvi .ssh/id_rsa [email protected]
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 22: Applying options for xxx.xxx.xxx.x
debug1: /etc/ssh/ssh_config line 32: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket "/home/username/.ssh/[email protected]:nn" does not exist
debug2: ssh_connect: needpriv 0
debug1: Connecting to xxx.xxx.xxx.x [xxx.xxx.xxx.x] port nn.
debug1: connect to address xxx.xxx.xxx.x port nn: Connection timed out
ssh: connect to host xxx.xxx.xxx.x port nn: Connection timed out
xxx.xxx.xxx.x is the public ip (works fine from LAN)
nn is the port number
username is my user name (same on both machines)
The options for the host from ssh_config are:
AddressFamily inet
Compression yes
ControlMaster auto
ControlPath ~/.ssh/socket-%r@%h:%p
and the only generic option applied to all hosts is just a line to insist on protocol 2 which I think is default now anyway but I followed the wiki and specified it to be sure.
What have I missed? My networking knowledge is pretty basic at best. (I got this far using Arch's wiki, Fedora's documentation and a little trial and error. That seemed to work well but now I've added google and still can't figure it out. All the hits I get concern cases where the LAN connection works but authentication fails over WAN. But I'm not getting that far - it looks like my work box doesn't respond at all...)
Last edited by cfr (2012-09-25 22:12:06)So I discovered I'd also managed to kill off LAN access as well as the machine's ability to use any sort of DNS... (I did say it needed to be secure...)
Anyway, I fixed that, reestablished working ssh from LAN but still can't get it to work from WAN.
Question: if ShieldsUp! reports the port as stealthed does that mean that the port has not actually been opened? So the campus firewall is blocking the connection? Because if so, I'm knocking my head against a brick (fire)wall to no purpose whatsoever...
I figure it can't be the software firewall else I'd not be able to connect on the LAN. And it is a public ip address so there's no NAT translation required... -
I have an airport extreme 4th generation (n) and airport express i think model 1084, which is not n technology. I want to connect the express to extreme base station wirelessly and then use the port on express to connect a non wireless PC or TV to the internet. I do not want to run a wire from base station to the computer and wanna use express's ethernet port as LAN port. I understand this can be done in wds mode, but my extreme (n) does not allow anywhere to set up a wds under the airport utility.
do i need to buy a new express or a new extreme? If i buy a new extreme can i connect the new extreme to old extreme base station without a wire and then use the LAN ports on the new extreme to connect to a computer or tv using rj45.
thanksbut my extreme (n) does not allow anywhere to set up a wds under the airport utility.
Suggest that you download and install the more functional and useful AirPort Utility 5.6 for Mac OS X Lion , which can be used to administer both the older "g" and newer "n" devices.
Open AirPort Utility 5.6
Select the AirPort that you want to administer
Click Manual Setup
Click the Wireless tab below the icons
Hold down the option key on your Mac while you click on the Wireless Mode selection box and the WDS setting will appear so that you can make further adjustments as needed. -
How to get data from serial port to GUI textArea
From Serial Port.....
Messages from base (always 5 bytes):
0xAA, 0, 0, 0, 0xBB - IDLE Mode
0xAA, 0, 0x80, 0x80, 0xBB - Question Mode
messages from terminal (always 6 bytes):
0xAA, a, b, c, chksum, 0xBB
where chksum = a+b+c;
a = address (0-250)
the 2 MSB's of b represenet the answer:
0 0 - A
0 1 - B
1 0 - C
1 1 - D
the 6LSB's of b and 8bits of c is the time for answer, in milliseconds.
(0-16384 milliseconds)
I have VB Code for that but I want the same thing in Java ...
Can any one help me?
Here's VB Code..
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "Aakar GUI"
ClientHeight = 4665
ClientLeft = 60
ClientTop = 375
ClientWidth = 6105
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 311
ScaleMode = 3 'Pixel
ScaleWidth = 407
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdPort
Caption = "Open Port"
Height = 375
Left = 120
TabIndex = 4
Top = 600
Width = 1455
End
Begin VB.ComboBox cmbPort
Height = 315
ItemData = "Form1.frx":0000
Left = 120
List = "Form1.frx":0016
Style = 2 'Dropdown List
TabIndex = 3
Top = 120
Width = 2895
End
Begin VB.CommandButton cmdEnd
Caption = "End"
Height = 495
Left = 1560
TabIndex = 2
Top = 1320
Width = 1215
End
Begin VB.CommandButton cmdStart
Caption = "Start"
Height = 495
Left = 120
TabIndex = 1
Top = 1320
Width = 1215
End
Begin VB.TextBox txtMessage
Height = 2040
Left = 119
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 0
Top = 2475
Width = 5848
End
Begin VB.Timer tmrRead
Enabled = 0 'False
Interval = 1
Left = 2040
Top = 600
End
Begin MSCommLib.MSComm MSComm1
Left = 3120
Top = 360
_ExtentX = 1164
_ExtentY = 1164
_Version = 393216
DTREnable = 0 'False
ParityReplace = 45
SThreshold = 1
End
Begin VB.Label Label5
Caption = "Result Data:"
Height = 375
Left = 120
TabIndex = 5
Top = 2115
Width = 1320
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim PortIsOpen As Boolean
Dim Answers(4) As String
Dim RejectKeystroke As Boolean
Private Sub cmbPort_Change()
Debug.Print cmbPort.ListIndex
End Sub
Private Sub cmbPort_Validate(Cancel As Boolean)
'Cancel = True
End Sub
Private Sub cmdEnd_Click()
MSComm1.Output = "e"
txtMessage.Text = ""
End Sub
Private Sub cmdPort_Click()
On Error GoTo ErrorHandler
If cmbPort.ListIndex < 0 Then Exit Sub
If PortIsOpen Then
cmbPort.Enabled = True
MSComm1.PortOpen = False
PortIsOpen = False
cmdPort.Caption = "Open Port"
cmdStart.Enabled = False
cmdEnd.Enabled = False
Else
MSComm1.CommPort = cmbPort.ListIndex + 1
cmbPort.Enabled = False
MSComm1.PortOpen = True
PortIsOpen = True
cmdPort.Caption = "Close Port"
cmdStart.Enabled = True
cmdEnd.Enabled = True
End If
Exit Sub
ErrorHandler:
Debug.Print Err.Number
Debug.Print Err.Description
MsgBox Err.Description, vbExclamation Or vbOKOnly, "Error opening port"
cmbPort.Enabled = True
PortIsOpen = False
cmdPort.Caption = "Open Port"
cmdStart.Enabled = False
cmdEnd.Enabled = False
End Sub
Private Sub cmdStart_Click()
MSComm1.Output = "s"
txtMessage.Text = ""
End Sub
Private Sub Form_Initialize()
Dim tmp As Variant
tmp = InitCommonControls
End Sub
Private Sub Form_Load()
Answers(0) = "A"
Answers(1) = "B"
Answers(2) = "C"
Answers(3) = "D"
'MSComm1.Settings = "9600,n,8,1"
''MSComm1.Settings = "115200,n,8,1"
'MSComm1.PortOpen = True
On Error GoTo ErrorHandler1
MSComm1.CommPort = 1 ' comm port 1
MSComm1.RThreshold = 1 ' use 'on comm' event processing
MSComm1.Settings = "9600,n,8,1" ' baud, parity, data bits, stop bits
MSComm1.SThreshold = 1 ' allows us to track Tx LED
MSComm1.InputMode = comInputModeText 'comInputModeBinary ' binary mode, you can also use
' comInputModeText for text only use
PortIsOpen = False
cmbPort.ListIndex = 0
' open the port
MSComm1.PortOpen = True
cmbPort.Enabled = False
PortIsOpen = True
cmdPort.Caption = "Close Port"
cmdStart.Enabled = True
cmdEnd.Enabled = True
Exit Sub
ErrorHandler1:
Debug.Print Err.Description
PortIsOpen = False
cmbPort.Enabled = True
cmdPort.Caption = "Open Port"
cmdStart.Enabled = False
cmdEnd.Enabled = False
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If MSComm1.PortOpen Then MSComm1.PortOpen = False
End Sub
Private Sub lblOption_Click()
End Sub
Private Sub MSComm1_OnComm()
' Synopsis: Handle incoming characters, 'On Comm' Event
' Description: By setting MSComm1.RThreshold = 1, this event will fire for
' each character that arrives in the comm controls input buffer.
' Set MSComm1.RThreshold = 0 if you want to poll the control
' yourself, either via a TImer or within program execution loop.
' In most cases, OnComm Event processing shown here is the prefered
' method of processing incoming characters.
Dim i As Long
Dim sBuff As String ' buffer for holding incoming characters
Const MTC As String = vbCrLf ' message terminator characters (ususally vbCrLf)
Const LenMTC As Long = 2 ' number of terminator characters, must match MTC
Dim iPtr As Long ' pointer to terminatior character
' OnComm fires for multiple Events
' so get the Event ID & process
Select Case MSComm1.CommEvent
' Received RThreshold # of chars, in our case 1.
Case comEvReceive
' read all of the characters from the input buffer
' StrConv() is required when using MSComm in binary mode,
' if you set MSComm1.InputMode = comInputModeText, it's not required
'sBuff = sBuff & StrConv(MSComm1.Input, vbUnicode)
'If Len(txtMessage.Text) > 4096 Then txtMessage.Text = ""
sBuff = MSComm1.Input
Dim ch As String
Dim PacketStart As Boolean
Dim PacketLength As Integer
Dim Packet() As String
PacketStart = False
PacketLength = 0
While (Len(sBuff) > 0)
ch = Left(sBuff, 1)
If (ch = Chr(&HAA)) Then PacketStart = True
If (ch = Chr(&HBB)) Then PacketStart = False
If (ch <> Chr(&HAA) And ch <> Chr(&HBB)) Then
PacketLength = PacketLength + 1
ReDim Preserve Packet(PacketLength)
Packet(PacketLength) = ch
End If
'txtMessage.Text = txtMessage.Text + Format(Hex(Asc(ch)), " @@")
sBuff = Right(sBuff, Len(sBuff) - 1)
Wend
If (PacketLength = 3) Then
Debug.Print "Command packet recieved"
'txtMessage.Text = txtMessage.Text + vbCrLf + "Address =" + Str(Asc(Packet(1)))
'txtMessage.Text = txtMessage.Text + vbCrLf + "Address =" + Str(Asc(Packet(2)))
End If
If (PacketLength = 4) Then
Debug.Print "Response packet recieved"
txtMessage.Text = txtMessage.Text + "Address =" + Str(Asc(Packet(1))) + _
" Answer = " + Answers((Asc(Packet(2)) And &HC0) / 64) + _
" Time =" + Str((Asc(Packet(2)) And &H3F) * 256 + (Asc(Packet(3)))) + "mS" + vbCrLf
'txtMessage.Text = txtMessage.Text + vbCrLf + "Address =" + Str(Asc(Packet(1)))
'txtMessage.Text = txtMessage.Text + vbCrLf + "Option =" + Str((Asc(Packet(2)) And &HC0) / 64)
'txtMessage.Text = txtMessage.Text + vbCrLf + "Time =" + Str((Asc(Packet(2)) And &H3F) * 256 + (Asc(Packet(3))))
End If
If (PacketLength <> 4 And PacketLength <> 3) Then Debug.Print "Unknown packet of length" + Str(PacketLength) + " recieved"
txtMessage.Text = txtMessage.Text + vbCrLf
' An EOF charater was found in the input stream
Case comEvEOF
DoEvents
' There are SThreshold number of characters in the transmit buffer.
Case comEvSend
DoEvents
' A Break was received.
Case comEventBreak
DoEvents
' Framing Error
Case comEventFrame
DoEvents
' Data Lost.
Case comEventOverrun
DoEvents
' Receive buffer overflow.
Case comEventRxOver
DoEvents
' Parity Error.
Case comEventRxParity
DoEvents
' Transmit buffer full.
Case comEventTxFull
' Unexpected error retrieving DCB]
Case comEventDCB
DoEvents
End Select
End Sub
Private Sub tmrRead_Timer()
'MSComm1.Output = vbCrLf + vbCrLf
'MSComm1.Output = Chr(128)
End Sub
Private Sub txtMessage_KeyDown(KeyCode As Integer, Shift As Integer)
If Shift = 2 Or Shift = 4 Then RejectKeystroke = False Else RejectKeystroke = True
End Sub
Private Sub txtMessage_KeyPress(KeyAscii As Integer)
If RejectKeystroke Then
KeyAscii = 0
End If
End SubThanks in advance..I want to replicate the entire VB program as Java Program.
This has to be included in my project which i am doing in java. -
The Airport Extreme is a 4th Gen unit. I just want to keep the TC wireless name to go further through my house.
The Ethernet connection will be from one of the LAN <-> ports on the TC to the WAN port (circle of dots icon) on the AirPort Extreme.
Then you can use AirPort Utility - Manual Setup to configure the AirPort Extreme as follows:
Click the Wireless tab located just below the row of icons
Wireless Mode = Create a wireless network (Not "extend a wireless network" as many users incorrectly think)
Wireless Network Name = Same name as your TC network
No check mark needed next to "Allow this network to be extended"
Radio Mode = Automatic
Channel = Automatic
Wireless Security = Same setting as the TC network
Wireless Password = Same setting as the TC network
Confirm Password
Click the Internet icon
Click the Internet Connection tab
Connect Using = Ethernet
Connection Sharing = Off (Bridge Mode)
Update to save settings and restart the entire network
Computers on the TC network will now be able to move to the area where the AirPort Extreme is located and not have to "switch" networks. This is known as a "roaming" network. -
Hi All,
A few months ago when 1.0.4.14 was released I was quick to update to this version from 1.0.3.10 but very quickly ran into issues.
Bit of background info... I am not doing anything complex with this box, basic IP4 network over all LAN ports, no VLANs, firewall enabled and allowing 2 port access rules to a static IP address. Any static IPs are assigned manual at host level but all other devices receive DHCP IP addresses. I don’t host VPN on this RV180 but I do with another. Routing VPN has no issues. WAN is connected to another switch provided by my ISP who provides DHCP IP Address with their DNS etc. Only LAN ports 1 and 2 are connected, port 1 to my Wireless AP (AP mode passing all requests to the RV180, DHCP etc.), port 2 connects to a 8 port Smart Switch (but all 'Smart' features are currently not in use, so basic switching only). All other settings on the RV180 are on recommended defaults.
Everything is working fine on 1.0.3.10 but I have all kinds of issues after updating to 1.0.4.14. Here are the actions and experiences I had...
1) Backup my RV180 config to txt file.
2) Navigate to the firmware upgrade page and follow steps to complete the upgrade process from 1.0.3.10 to 1.0.4.14. *router does the normal process of upgrading*
3) RV180 reboots to complete but doesn’t come back up even after waiting 5-10 mins. LAN ports enable during boot up (link lights on) but after about 2mins turn off (no link lights). WAN light is on alongside the Power Light.
4) Power cycle even with rest... Same results.
5) Reset the RV180 to default settings. I can sometimes get the unit to boot up and the LAN remains active and powered up. The web UI is VERY slow compared with 1.0.3.10. Internet sometimes works and sometimes doesn't (I would expect it all work without issue on default settings).
6) I repeat this a few times, various resets, powered off waiting periods, etc. but I always have issues. I did manage to get some log file information and the Kernel appears in the Alert, Error and also the Warning logs (please see attached files).
7) I gave up at this point. No major issues like this reported on the internet from a few google searches etc. So I then reset to defaults (1.0.4.14), downgrade to 1.0.3.10 and finally reset to defaults again + restore backup config settings (with some manual changes).
The router has remained like this and seem to be working fine, but I would like any security improvements from 1.0.4.14 firmware on my device.
Anyone able to help, have the same issue or can advise me in any other ways?
I see 1.0.3.10 isn’t displayed as a firmware download on the standard support page for the RV180 now. Only 1.0.2.6 and 1.0.4.14. Do I need to downgrade again to 1.0.2.6 before upgrading to the latest version?
Regards,
~FAZ~Hi,
I recently bought a RV180 router and immediately I encountered the same problem; practically I am not able to access the web GUI.
The PC is directly connected to the router, nothing else is connected; the TCP/IP configuration is as follows:
PC: 192.168.1.100
RV180: 192.168.1.1
GATEWAY: 192.168.1.1
SUBNET MASK: 255.255.255.0
Once the router is turned on, the power LED flashes fastly, the Ethernet LED is on but after few minutes it disappears and the PC detects a disconnection of the Ethernet cable.
The router is not pingable and, as I said, the web interface is not reachable.
I have tried to power cycle the router, to reset it (pressing the reset button for more than 3 second and for more than one minute), to access the rescue mode and download a new firmware through TFTP, but nothing worked.
Few times, after many boot and reset trials,I was able to access the web interface and in one of these occasions I updated the firmware to 1.0.4.14 but once the router is powered off the problem arises again at the next power on.
I have not tried yet to downgrade to an older firmware version.
Can you suggest any solution? thank you. -
Toshiba tecra a11-17c refusing to boot from LAN
Hello
I am working on a Toshiba tecra a11-17c. We currently have about 18 of the same laptop and the person who originally built the computers has left the office we are currently working at.
The issue I am have is that I want to boot the computer from lan and do a windows 7 installation on the laptop but I keep getting the error "Media test failure, check cable"
I know the cable is working because I was able to build a Toshiba satellite pro l20 perfectly fine
The other Toshiba tecra a11-17c laptops have the same issue when trying to rebuild them too
I am fully able to log into a Toshiba tecra a11-17c and connect to the internet via the same network cable and port when in windows.
I have also tried to swap the hard drive with a different tecra a11-17c but it just kept getting a blue screen as soon as the windows flag appeared.
I then tried a format of the hard drive and a reset to default of the bios settings as suggested in a different forum.
I then tried to clone a fully working hard drive from a different fully working tecra a11-17c and it just dose the blue screen as stated above.
I then used an old windows XP recovery disk for the tecra a11-17c it did the build fine no issues then when it came to build to windows but as stated above it just dose a blue screen the same as windows 7.
Now I have no idea what to do but to believe it is something Toshiba has done with the tecra a11-17c range because its the same issue for all 18 of the tecra a11-17c laptops I have here.
Any way I am at a loss and have no idea what to do it seems to be something as simple as the network card need to be turned on during the boot phase but I can not find anything in the bios.I'm sorry but I have no experience doing what your attempting to do. However, for your information, this site is for U.S. models only and I would suggest you also post in the appropriate regional Toshiba Support forum to get better suggestions. Good luck
L305-S5955, T9300 Intel Core 2 Duo, 4GB RAM, 60GB SSD, Win 7 Ultimate 64-bit -
How do I find the IP address of drive connected to LAN port?
I connected a network drive to the LAN port of my AEBS. It appears as a Shared Device but I need to find out its assigned IP address so I can configure it. I looked in Airport Utility but can't find a listing of IP addresses that have been assigned. Is there a way to do this?
I'd ping the next IP address up from your own and see what comes back. That's assuming its just your AEBS, your Mac and the NAS on the network.....
Stu -
After installation, the mobo LAN port is not working? urgent, help ple
I just installed archlinux on my new i7 860 Asus p7p55d-e Deluxe build, but after the installation the LAN port is not working anymore. Before this, this Lan port works perfect in windows as well as in the arch installation. But after the installation, the led is orange and is blinking slowly, windows complains that the cable is not properly plugged, and even arch installation can't pull DHCP from it also.
Luckily, the mobo has another lan port, so I have to plug the cable out and to the second port, but I couldn't seem to be able to find anyway to enable the first Lan port anymore?
Have you seen anything like this, what possibly is the reason?
Thanks, any help will be appreciated.heleos, thanks for the reply, the first thing I check is BIOS. There is definitely nothing wrong with that, since I loaded the default one.
It is really strange, it seems no matter what I do, the 1st port which used to work, simple doesn't work, but the second one works fine.
But after some poking around with the "ethtool", it starts to work again. I have no idea what cause the disfunction and what magically heal it again.
Now I am really curious.
Last edited by mark.altern (2010-04-18 09:52:09) -
Problem in reading data from serial port continuously- application hangs after sometimes
I need to read data from two COM port and order of data appearance from COM port is not fixed.
I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again.
Then I need to restart my application again to make it work.
I am attaching VI. Let me know any issue.
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Attachments:
Scanning.vi 39 KBbillko wrote:
Ranjeet_Singh wrote:
I need to read data from two COM port and order of data appearance from COM port is not fixed.
I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again.
Then I need to restart my application again to make it work.
I am attaching VI. Let me know any issue.
What do you mean, "not fixed?" If there is no termination character, no start/stop character(s) or even a consistent data length, then how can you really be sure when the data starts and stops?
I probably misunderstood you though. Assuming the last case is not ture - there is a certain length to the data - then you should use the bytes at port, like in the otherwise disastrous serial port read example. In this case, it's NOT disastrous. You have to make sure that you read all the data that came through. Right now you have no idea how much data you just read. Also, if this is streaming data, you might want to break it out into a producer/consumer design pattern.
Not fixed means order is not fixed, data from any com port can come anytime. lenght is fixed, one com port have 14 byte and other 8 byte fixed..
Reading data is not an issue for me as it works nice but I have a query that why my application hangs after sometime and stops reading data from COM PORT.
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--Ranjeet -
How can I read text files from LAN if I only know the hostname?
I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
<p>1. How can I read text files from LAN if I only know the hostname, or IP address?
<p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
(ex. how can I read the 120th line?)
<p>Please help!
<p>sorry for the bad englishI'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
The hostname is server, not file.
2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
(ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is
Maybe you are looking for
-
Do I must use EJB if I put a web application on NT+IIS+JRun
I wrote a web application(JSP+JavaBean+Microsoft Access Database), it runs well on windows98/me+Apache+JRun developer version(net work). but when I put it on the internet by using ISP's Server(NT 5.0+ IIS+JRun), It does not work well. when click on a
-
Audit message in adapter module
hi all I have developed a adapter module, in which I write some audit message. If the message is processed successfully, then I can see the audit message in RWB. But when some errors happen and some exceptions are thrown, I cannot see any audit messa
-
How do I cancel an invoice?
I am trying to cancel an invoice using the following code but get back error code -5006. The document is one that has been entered today. Why can't I cancel it? int retVal = sapInvoice.Cancel(); if( retVal != 0 ) int errCode; string errMsg; S
-
Programmatically set dynamic items in selectOneRadio from mbean
Hello all, Looking for an example of how to dynamically set values from an mbean on a selectOneRadio component. I see that I can bind this component to my mbean which then provides getters and setters, but its unclear to me how I would be able to cre
-
Ok riddle me this? What if load up software was wro
I'm having problems getting my headphones to work from front pannel on my Soundbalster Aud2 Platinum. I tried all ideas pinned in here including clean sweep. What I can not do is make any adjustment to the HQ/Device like "mute spks when headphones in