Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Saturday, August 15, 2015

Simple Sharing with Samba on Raspbian

Install Samba

sudo apt-get update
sudo apt-get install samba samba-common-bin

Add a new section to the end of /etc/samba/smb.conf.

[backup]
    comment = Ubuntu File Server Share
    path = <SHARE_DIRECTORY>
    writeable = yes
    guest ok = yes


Change the username of the share to nobody, and change the group of the share to nogroup.

cd <SHARE_DIRECTORY>
chown -R nobody.nogroup *

Resolve Linux Hostnames in Windows

Install samba which includes nmbd.

apt-get install samba

References:
http://ppanyukov.github.io/2011/08/17/hostname-resolve.html
https://www.raspberrypi.org/forums/viewtopic.php?t=213401

Saturday, December 27, 2014

Friday, December 30, 2011

Flash original FON firmware onto Fonera

If you have installed an alternative firmware onto your Fonera and you would like to revert back to the original firmware, the following page describes the steps to install the original Fonera firmware depending of the Fonera version.

Install original Fonera firmware

Monday, June 13, 2011

Can't send mail via SMTP with AT&T DSL Internet Services

AT&T Internet Services blocks port 25 by default. I think the reason is to prevent spam in the case that your computer is hijacked. You will need to call DSL technical support (1-800-288-2020) and request port 25 to be unblocked. They may ask why. Tell them you want to run your own SMTP server.

Sunday, June 12, 2011

Troubleshoot Wake-on-LAN

If you are having difficulties getting Wake-on-LAN to work, verify the following.
  • Make sure your device you are trying to wake supports Wake-on-LAN
  • Check if you need to enabled Wake-on-LAN on your device (typically, this is done through the device driver properties of this device)
  • Make sure the device you want to wake and the device sending the magic packet is on the same subnet
  • Make sure you are sending a properly formatted magic packet

Thursday, June 02, 2011

Batch script to renew your network IP in Windows

Here's a handy batch script for renewing your IP in Windows. Create a file called renewip.bat containing the following lines.

ipconfig /release
ipconfig /renew
ipconfig /flushdns

Store this batch script in a convenient location. Run the batch script to renew your IP address.

Sunday, May 15, 2011

Configure bridge mode on the 2Wire 2701HG-B Gateway

Bridge mode disables all routing and DHCP services on the device and allows it to function only as a DSL modem. This enables one to use a more feature-rich router behind the 2Wire device.

Use the following instructions to configure bridge mode on the 2Wire device.
  • Connect an ethernet cable from your client directly into one of the LAN ports on the 2Wire device.
  • From your web browser, goto http://gateway.2wire.net/mdc/
  • Broadband Link->Configure->DSL and ATM Settings->disable ATM PVC Search
  • Broadband Link->Configure->Internet Connection Settings->Connection Type->Direct IP (DHCP or Static)
  • Advanced->Configure Services->uncheck Enable Routing
  • The gateway is now functioning in bridge mode. Undo the changes to disable bridge mode.
When the device is functioning in bridge mode, you will no longer be able to access it directly from your web client. Use the following instructions to access the MDC (modem diagnostic console) in bridge mode.
  • Connect an ethernet cable from your client directly into one of the LAN ports on the 2Wire device.
  • Set the static IP of the client computer to an IP in the following range 192.168.1.64-250
  • Set the netmask of the client computer to 255.255.255.0
  • Set the gateway of the client computer to 192.168.1.254
  • Restart your network interface
  • From your client computer, browse to http://192.168.1.254/mdc/
Note: When routing is disabled, NAT and the DHCP Server are disabled.

Friday, May 13, 2011

Some useful pages to access information on your IP

Have you ever needed to obtain your WAN IP from a script? Get it here with no additional parsing.
wget http://freeipinfo.appspot.com/script

The following webpage has more detailed information on your WAN IP.
http://freeipinfo.appspot.com

AT&T DSL self installation without using the installation CD

The recommended installation method is to follow the instructions that comes with the DSL self-installation package (which comes with your DSL modem/router). The instructions will direct you to the following webpage. Note, using this method requires the installation of a small program on your computer.
http://att.net/activate

Suppose you know how to configure a DSL modem/router but need only to register for a new AT&T PPPOE network user account, you can accomplish this by going to the following webpage.
http://144.160.97.91

AT&T ships 2Wire devices. Here is a link to the 2Wire Gateway user guide:
http://www.2wire.com/pages/pdfs/2701HG_user_guide.pdf